/[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 690 by ph10, Tue Sep 6 15:02:07 2011 UTC revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC
# Line 117  SET(PCRE_POSIX_MALLOC_THRESHOLD "10" CAC Line 117  SET(PCRE_POSIX_MALLOC_THRESHOLD "10" CAC
117    
118  SET(PCRE_SUPPORT_JIT OFF CACHE BOOL  SET(PCRE_SUPPORT_JIT OFF CACHE BOOL
119      "Enable support for Just-in-time compiling.")      "Enable support for Just-in-time compiling.")
120    
121  SET(PCRE_SUPPORT_PCREGREP_JIT ON CACHE BOOL  SET(PCRE_SUPPORT_PCREGREP_JIT ON CACHE BOOL
122      "Enable use of Just-in-time compiling in pcregrep.")      "Enable use of Just-in-time compiling in pcregrep.")
123    
124  SET(PCRE_SUPPORT_UNICODE_PROPERTIES OFF CACHE BOOL  SET(PCRE_SUPPORT_UNICODE_PROPERTIES OFF CACHE BOOL
125      "Enable support for Unicode properties. (If set, UTF-8 support will be enabled as well)")      "Enable support for Unicode properties. (If set, UTF-8 support will be enabled as well)")
126    
# Line 218  ENDIF(PCRE_SUPPORT_UNICODE_PROPERTIES) Line 218  ENDIF(PCRE_SUPPORT_UNICODE_PROPERTIES)
218  IF(PCRE_SUPPORT_JIT)  IF(PCRE_SUPPORT_JIT)
219          SET(SUPPORT_JIT 1)          SET(SUPPORT_JIT 1)
220  ELSE  ELSE
221          SET(PCRE_SUPPORT_PCREGREP_JIT 0)          SET(PCRE_SUPPORT_PCREGREP_JIT 0)
222  ENDIF(PCRE_SUPPORT_JIT)  ENDIF(PCRE_SUPPORT_JIT)
223    
224  IF(PCRE_SUPPORT_PCREGREP_JIT)  IF(PCRE_SUPPORT_PCREGREP_JIT)
225          SET(SUPPORT_PCREGREP_JIT 1)          SET(SUPPORT_PCREGREP_JIT 1)
226  ENDIF(PCRE_SUPPORT_PCREGREP_JIT)  ENDIF(PCRE_SUPPORT_PCREGREP_JIT)
227    
228  # This next one used to contain  # This next one used to contain
229  #       SET(PCRETEST_LIBS ${READLINE_LIBRARY})  #       SET(PCRETEST_LIBS ${READLINE_LIBRARY})
# Line 449  IF(PCRE_BUILD_TESTS) Line 449  IF(PCRE_BUILD_TESTS)
449    ADD_EXECUTABLE(pcretest pcretest.c)    ADD_EXECUTABLE(pcretest pcretest.c)
450    SET(targets ${targets} pcretest)    SET(targets ${targets} pcretest)
451    TARGET_LINK_LIBRARIES(pcretest pcreposix ${PCRETEST_LIBS})    TARGET_LINK_LIBRARIES(pcretest pcreposix ${PCRETEST_LIBS})
452    
453    IF(PCRE_SUPPORT_JIT)    IF(PCRE_SUPPORT_JIT)
454      ADD_EXECUTABLE(pcre_jit_test pcre_jit_test.c)      ADD_EXECUTABLE(pcre_jit_test pcre_jit_test.c)
455      SET(targets ${targets} pcre_jit_test)      SET(targets ${targets} pcre_jit_test)
456      TARGET_LINK_LIBRARIES(pcre_jit_test pcre)      TARGET_LINK_LIBRARIES(pcre_jit_test pcre)
457    ENDIF(PCRE_SUPPORT_JIT)    ENDIF(PCRE_SUPPORT_JIT)
458    
459    IF(PCRE_BUILD_PCRECPP)    IF(PCRE_BUILD_PCRECPP)
460      ADD_EXECUTABLE(pcrecpp_unittest pcrecpp_unittest.cc)      ADD_EXECUTABLE(pcrecpp_unittest pcrecpp_unittest.cc)
# Line 501  IF(PCRE_BUILD_TESTS) Line 501  IF(PCRE_BUILD_TESTS)
501    GET_TARGET_PROPERTY(PCRE_JIT_TEST_EXE    GET_TARGET_PROPERTY(PCRE_JIT_TEST_EXE
502                        pcre_jit_test                        pcre_jit_test
503                        DEBUG_LOCATION)                        DEBUG_LOCATION)
504    ENDIF(PCRE_SUPPORT_JIT)    ENDIF(PCRE_SUPPORT_JIT)
505    
506    GET_TARGET_PROPERTY(PCRECPP_UNITTEST_EXE    GET_TARGET_PROPERTY(PCRECPP_UNITTEST_EXE
507                        pcrecpp_unittest                        pcrecpp_unittest
# Line 517  IF(PCRE_BUILD_TESTS) Line 517  IF(PCRE_BUILD_TESTS)
517    
518    IF(PCRE_SUPPORT_JIT)    IF(PCRE_SUPPORT_JIT)
519    ADD_TEST(pcre_jit_test         ${PCRE_JIT_TEST_EXE})    ADD_TEST(pcre_jit_test         ${PCRE_JIT_TEST_EXE})
520    ENDIF(PCRE_SUPPORT_JIT)    ENDIF(PCRE_SUPPORT_JIT)
521    ADD_TEST(pcrecpp_test          ${PCRECPP_UNITTEST_EXE})    ADD_TEST(pcrecpp_test          ${PCRECPP_UNITTEST_EXE})
522    ADD_TEST(pcre_scanner_test     ${PCRE_SCANNER_UNITTEST_EXE})    ADD_TEST(pcre_scanner_test     ${PCRE_SCANNER_UNITTEST_EXE})
523    ADD_TEST(pcre_stringpiece_test ${PCRE_STRINGPIECE_UNITTEST_EXE})    ADD_TEST(pcre_stringpiece_test ${PCRE_STRINGPIECE_UNITTEST_EXE})

Legend:
Removed from v.690  
changed lines
  Added in v.691

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12