/[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 1105 by chpe, Tue Oct 16 15:56:45 2012 UTC revision 1162 by ph10, Tue Oct 23 10:46:43 2012 UTC
# Line 59  Line 59 
59  # 2012-02-26 PH added support for libedit  # 2012-02-26 PH added support for libedit
60  # 2012-09-06 PH added support for PCRE_EBCDIC_NL25  # 2012-09-06 PH added support for PCRE_EBCDIC_NL25
61  # 2012-09-08 ChPe added PCRE32 support  # 2012-09-08 ChPe added PCRE32 support
62    # 2012-10-23 PH added support for VALGRIND and GCOV
63    
64  PROJECT(PCRE C CXX)  PROJECT(PCRE C CXX)
65    
# Line 160  SET(PCRE_SUPPORT_UNICODE_PROPERTIES OFF Line 161  SET(PCRE_SUPPORT_UNICODE_PROPERTIES OFF
161  SET(PCRE_SUPPORT_BSR_ANYCRLF OFF CACHE BOOL  SET(PCRE_SUPPORT_BSR_ANYCRLF OFF CACHE BOOL
162      "ON=Backslash-R matches only LF CR and CRLF, OFF=Backslash-R matches all Unicode Linebreaks")      "ON=Backslash-R matches only LF CR and CRLF, OFF=Backslash-R matches all Unicode Linebreaks")
163    
164    SET(PCRE_SUPPORT_VALGRIND OFF CACHE BOOL
165        "Enable Valgrind support.")
166    
167    SET(PCRE_SUPPORT_COVERAGE OFF CACHE BOOL
168        "Enable GCOV support.")
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)
172  OPTION(PCRE_BUILD_TESTS    "Build the tests" ON)  OPTION(PCRE_BUILD_TESTS    "Build the tests" ON)
# Line 285  IF(PCRE_SUPPORT_PCREGREP_JIT) Line 292  IF(PCRE_SUPPORT_PCREGREP_JIT)
292          SET(SUPPORT_PCREGREP_JIT 1)          SET(SUPPORT_PCREGREP_JIT 1)
293  ENDIF(PCRE_SUPPORT_PCREGREP_JIT)  ENDIF(PCRE_SUPPORT_PCREGREP_JIT)
294    
295    IF(PCRE_SUPPORT_VALGRIND)
296            SET(SUPPORT_VALGRIND 1)
297    ENDIF(PCRE_SUPPORT_VALGRIND)
298    
299    IF(PCRE_SUPPORT_COVERAGE)
300            SET(SUPPORT_GCOV 1)
301    ENDIF(PCRE_SUPPORT_COVERAGE)
302    
303  # This next one used to contain  # This next one used to contain
304  #       SET(PCRETEST_LIBS ${READLINE_LIBRARY})  #       SET(PCRETEST_LIBS ${READLINE_LIBRARY})
305  # but I was advised to add the NCURSES test as well, along with  # but I was advised to add the NCURSES test as well, along with
# Line 928  IF(PCRE_SHOW_REPORT) Line 943  IF(PCRE_SHOW_REPORT)
943    ELSE(READLINE_FOUND)    ELSE(READLINE_FOUND)
944      MESSAGE(STATUS "  Link pcretest with libreadline .. : Library not found" )      MESSAGE(STATUS "  Link pcretest with libreadline .. : Library not found" )
945    ENDIF(READLINE_FOUND)    ENDIF(READLINE_FOUND)
946      MESSAGE(STATUS "  Support Valgrind .................: ${PCRE_SUPPORT_VALGRIND}")
947      MESSAGE(STATUS "  Support coverage .................: ${PCRE_SUPPORT_COVERAGE}")
948    
949    IF(MINGW AND NOT PCRE_STATIC)    IF(MINGW AND NOT PCRE_STATIC)
950      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.1105  
changed lines
  Added in v.1162

  ViewVC Help
Powered by ViewVC 1.1.5