/[pcre]/code/trunk/CMakeLists.txt
ViewVC logotype

Diff of /code/trunk/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1406 by ph10, Tue Nov 19 15:36:57 2013 UTC revision 1407 by ph10, Sun Dec 1 16:31:40 2013 UTC
# Line 186  IF (MINGW) Line 186  IF (MINGW)
186           OFF)           OFF)
187  ENDIF(MINGW)  ENDIF(MINGW)
188    
189    IF(MSVC)
190      OPTION(INSTALL_MSVC_PDB
191             "ON=Install .pdb files built by MSVC, if generated"
192             OFF)
193    ENDIF(MSVC)
194    
195  # bzip2 lib  # bzip2 lib
196  IF(BZIP2_FOUND)  IF(BZIP2_FOUND)
197    OPTION (PCRE_SUPPORT_LIBBZ2 "Enable support for linking pcregrep with libbz2." ON)    OPTION (PCRE_SUPPORT_LIBBZ2 "Enable support for linking pcregrep with libbz2." ON)
# Line 550  SET(PCREPOSIX_SOURCES Line 556  SET(PCREPOSIX_SOURCES
556  ENDIF(EXISTS ${PROJECT_SOURCE_DIR}/pcreposix.rc)  ENDIF(EXISTS ${PROJECT_SOURCE_DIR}/pcreposix.rc)
557  ENDIF(MINGW AND NOT PCRE_STATIC)  ENDIF(MINGW AND NOT PCRE_STATIC)
558    
559    IF(MSVC AND NOT PCRE_STATIC)
560    IF (EXISTS ${PROJECT_SOURCE_DIR}/pcre.rc)
561    SET(PCRE_SOURCES
562      ${PCRE_SOURCES} pcre.rc)
563    ENDIF(EXISTS ${PROJECT_SOURCE_DIR}/pcre.rc)
564    IF (EXISTS ${PROJECT_SOURCE_DIR}/pcreposix.rc)
565    SET(PCREPOSIX_SOURCES
566      ${PCREPOSIX_SOURCES} pcreposix.rc)
567    ENDIF (EXISTS ${PROJECT_SOURCE_DIR}/pcreposix.rc)
568    ENDIF(MSVC AND NOT PCRE_STATIC)
569    
570  SET(PCRECPP_HEADERS  SET(PCRECPP_HEADERS
571    pcrecpp.h    pcrecpp.h
572    pcre_scanner.h    pcre_scanner.h
# Line 875  INSTALL(FILES ${man1} DESTINATION man/ma Line 892  INSTALL(FILES ${man1} DESTINATION man/ma
892  INSTALL(FILES ${man3} DESTINATION man/man3)  INSTALL(FILES ${man3} DESTINATION man/man3)
893  INSTALL(FILES ${html} DESTINATION share/doc/pcre/html)  INSTALL(FILES ${html} DESTINATION share/doc/pcre/html)
894    
895    IF(MSVC AND INSTALL_MSVC_PDB)
896        INSTALL(FILES ${PROJECT_BINARY_DIR}/pcre.pdb
897                      ${PROJECT_BINARY_DIR}/pcreposix.pdb
898                DESTINATION bin
899                CONFIGURATIONS RelWithDebInfo)
900        INSTALL(FILES ${PROJECT_BINARY_DIR}/pcred.pdb
901                      ${PROJECT_BINARY_DIR}/pcreposixd.pdb
902                DESTINATION bin
903                CONFIGURATIONS Debug)
904    ENDIF(MSVC AND INSTALL_MSVC_PDB)
905    
906  # help, only for nice output  # help, only for nice output
907  IF(BUILD_SHARED_LIBS)  IF(BUILD_SHARED_LIBS)
908    SET(BUILD_STATIC_LIBS OFF)    SET(BUILD_STATIC_LIBS OFF)
# Line 952  IF(PCRE_SHOW_REPORT) Line 980  IF(PCRE_SHOW_REPORT)
980      MESSAGE(STATUS "  Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}")      MESSAGE(STATUS "  Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}")
981      MESSAGE(STATUS "  Non-standard dll names (suffix) . : ${NON_STANDARD_LIB_SUFFIX}")      MESSAGE(STATUS "  Non-standard dll names (suffix) . : ${NON_STANDARD_LIB_SUFFIX}")
982    ENDIF(MINGW AND NOT PCRE_STATIC)    ENDIF(MINGW AND NOT PCRE_STATIC)
983    
984      IF(MSVC)
985        MESSAGE(STATUS "  Install MSVC .pdb files ..........: ${INSTALL_MSVC_PDB}")
986      ENDIF(MSVC)
987    
988    MESSAGE(STATUS "")    MESSAGE(STATUS "")
989  ENDIF(PCRE_SHOW_REPORT)  ENDIF(PCRE_SHOW_REPORT)
990    

Legend:
Removed from v.1406  
changed lines
  Added in v.1407

  ViewVC Help
Powered by ViewVC 1.1.5