/[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 1167 by ph10, Tue Oct 23 15:51:31 2012 UTC revision 1221 by ph10, Sun Nov 11 20:27:03 2012 UTC
# Line 163  SET(PCRE_SUPPORT_BSR_ANYCRLF OFF CACHE B Line 163  SET(PCRE_SUPPORT_BSR_ANYCRLF OFF CACHE B
163    
164  SET(PCRE_SUPPORT_VALGRIND OFF CACHE BOOL  SET(PCRE_SUPPORT_VALGRIND OFF CACHE BOOL
165      "Enable Valgrind support.")      "Enable Valgrind support.")
166    
167  SET(PCRE_SUPPORT_COVERAGE OFF CACHE BOOL  SET(PCRE_SUPPORT_COVERAGE OFF CACHE BOOL
168      "Enable code coverage support using gcov.")      "Enable code coverage support using gcov.")
169    
170  OPTION(PCRE_SHOW_REPORT    "Show the final configuration report" ON)  OPTION(PCRE_SHOW_REPORT    "Show the final configuration report" ON)
171  OPTION(PCRE_BUILD_PCREGREP "Build pcregrep" ON)  OPTION(PCRE_BUILD_PCREGREP "Build pcregrep" ON)
# Line 299  ENDIF(PCRE_SUPPORT_VALGRIND) Line 299  ENDIF(PCRE_SUPPORT_VALGRIND)
299  IF(PCRE_SUPPORT_COVERAGE)  IF(PCRE_SUPPORT_COVERAGE)
300          SET(SUPPORT_GCOV 1)          SET(SUPPORT_GCOV 1)
301          IF(NOT CMAKE_COMPILER_IS_GNUCC)          IF(NOT CMAKE_COMPILER_IS_GNUCC)
302              MESSAGE(FATAL_ERROR "Code coverage reports can only be generated when using GCC")              MESSAGE(FATAL_ERROR "Code coverage reports can only be generated when using GCC")
303          ENDIF(NOT CMAKE_COMPILER_IS_GNUCC)          ENDIF(NOT CMAKE_COMPILER_IS_GNUCC)
304  ENDIF(PCRE_SUPPORT_COVERAGE)  ENDIF(PCRE_SUPPORT_COVERAGE)
305    
306  # This next one used to contain  # This next one used to contain
307  #       SET(PCRETEST_LIBS ${READLINE_LIBRARY})  #       SET(PCRETEST_LIBS ${READLINE_LIBRARY})
# Line 372  ENDIF(PCRE_NEWLINE STREQUAL "LF") Line 372  ENDIF(PCRE_NEWLINE STREQUAL "LF")
372  IF(PCRE_NEWLINE STREQUAL "CRLF")  IF(PCRE_NEWLINE STREQUAL "CRLF")
373          SET(NEWLINE "3365")          SET(NEWLINE "3365")
374  ENDIF(PCRE_NEWLINE STREQUAL "CRLF")  ENDIF(PCRE_NEWLINE STREQUAL "CRLF")
375  ENDIF(PCRE_EBCDIC_NL25)  ENDIF(PCRE_EBCDIC_NL25)
376    
377  IF(PCRE_NO_RECURSE)  IF(PCRE_NO_RECURSE)
378          SET(NO_RECURSE 1)          SET(NO_RECURSE 1)
# Line 947  IF(PCRE_SHOW_REPORT) Line 947  IF(PCRE_SHOW_REPORT)
947      MESSAGE(STATUS "  Link pcretest with libreadline .. : Library not found" )      MESSAGE(STATUS "  Link pcretest with libreadline .. : Library not found" )
948    ENDIF(READLINE_FOUND)    ENDIF(READLINE_FOUND)
949    MESSAGE(STATUS "  Support Valgrind .................: ${PCRE_SUPPORT_VALGRIND}")    MESSAGE(STATUS "  Support Valgrind .................: ${PCRE_SUPPORT_VALGRIND}")
950    MESSAGE(STATUS "  Support coverage .................: ${PCRE_SUPPORT_COVERAGE}")    MESSAGE(STATUS "  Support coverage .................: ${PCRE_SUPPORT_COVERAGE}")
951    
952    IF(MINGW AND NOT PCRE_STATIC)    IF(MINGW AND NOT PCRE_STATIC)
953      MESSAGE(STATUS "  Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}")      MESSAGE(STATUS "  Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}")

Legend:
Removed from v.1167  
changed lines
  Added in v.1221

  ViewVC Help
Powered by ViewVC 1.1.5