/[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 691 by ph10, Sun Sep 11 14:31:21 2011 UTC revision 692 by ph10, Mon Sep 12 11:38:03 2011 UTC
# Line 217  ENDIF(PCRE_SUPPORT_UNICODE_PROPERTIES) Line 217  ENDIF(PCRE_SUPPORT_UNICODE_PROPERTIES)
217    
218  IF(PCRE_SUPPORT_JIT)  IF(PCRE_SUPPORT_JIT)
219          SET(SUPPORT_JIT 1)          SET(SUPPORT_JIT 1)
 ELSE  
         SET(PCRE_SUPPORT_PCREGREP_JIT 0)  
220  ENDIF(PCRE_SUPPORT_JIT)  ENDIF(PCRE_SUPPORT_JIT)
221    
222  IF(PCRE_SUPPORT_PCREGREP_JIT)  IF(PCRE_SUPPORT_PCREGREP_JIT)
# Line 450  IF(PCRE_BUILD_TESTS) Line 448  IF(PCRE_BUILD_TESTS)
448    SET(targets ${targets} pcretest)    SET(targets ${targets} pcretest)
449    TARGET_LINK_LIBRARIES(pcretest pcreposix ${PCRETEST_LIBS})    TARGET_LINK_LIBRARIES(pcretest pcreposix ${PCRETEST_LIBS})
450    
451    IF(PCRE_SUPPORT_JIT)    IF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)
452      ADD_EXECUTABLE(pcre_jit_test pcre_jit_test.c)      ADD_EXECUTABLE(pcre_jit_test pcre_jit_test.c)
453      SET(targets ${targets} pcre_jit_test)      SET(targets ${targets} pcre_jit_test)
454      TARGET_LINK_LIBRARIES(pcre_jit_test pcre)      TARGET_LINK_LIBRARIES(pcre_jit_test pcre)
455    ENDIF(PCRE_SUPPORT_JIT)    ENDIF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)
456    
457    IF(PCRE_BUILD_PCRECPP)    IF(PCRE_BUILD_PCRECPP)
458      ADD_EXECUTABLE(pcrecpp_unittest pcrecpp_unittest.cc)      ADD_EXECUTABLE(pcrecpp_unittest pcrecpp_unittest.cc)
# Line 497  IF(PCRE_BUILD_TESTS) Line 495  IF(PCRE_BUILD_TESTS)
495            ADD_TEST(pcre_test ${PROJECT_SOURCE_DIR}/RunTest.bat)            ADD_TEST(pcre_test ${PROJECT_SOURCE_DIR}/RunTest.bat)
496    ENDIF(WIN32)    ENDIF(WIN32)
497    
498    IF(PCRE_SUPPORT_JIT)    IF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)
499    GET_TARGET_PROPERTY(PCRE_JIT_TEST_EXE    GET_TARGET_PROPERTY(PCRE_JIT_TEST_EXE
500                        pcre_jit_test                        pcre_jit_test
501                        DEBUG_LOCATION)                        DEBUG_LOCATION)
502    ENDIF(PCRE_SUPPORT_JIT)    ENDIF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)
503    
504    GET_TARGET_PROPERTY(PCRECPP_UNITTEST_EXE    GET_TARGET_PROPERTY(PCRECPP_UNITTEST_EXE
505                        pcrecpp_unittest                        pcrecpp_unittest
# Line 515  IF(PCRE_BUILD_TESTS) Line 513  IF(PCRE_BUILD_TESTS)
513                        pcre_stringpiece_unittest                        pcre_stringpiece_unittest
514                        DEBUG_LOCATION)                        DEBUG_LOCATION)
515    
516    IF(PCRE_SUPPORT_JIT)    IF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)
517    ADD_TEST(pcre_jit_test         ${PCRE_JIT_TEST_EXE})    ADD_TEST(pcre_jit_test         ${PCRE_JIT_TEST_EXE})
518    ENDIF(PCRE_SUPPORT_JIT)    ENDIF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)
519    ADD_TEST(pcrecpp_test          ${PCRECPP_UNITTEST_EXE})    ADD_TEST(pcrecpp_test          ${PCRECPP_UNITTEST_EXE})
520    ADD_TEST(pcre_scanner_test     ${PCRE_SCANNER_UNITTEST_EXE})    ADD_TEST(pcre_scanner_test     ${PCRE_SCANNER_UNITTEST_EXE})
521    ADD_TEST(pcre_stringpiece_test ${PCRE_STRINGPIECE_UNITTEST_EXE})    ADD_TEST(pcre_stringpiece_test ${PCRE_STRINGPIECE_UNITTEST_EXE})

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12