/[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 697 by ph10, Mon Sep 12 11:38:03 2011 UTC revision 698 by ph10, Mon Sep 19 15:43:02 2011 UTC
# Line 448  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 AND PCRE_SUPPORT_UTF8)    IF(PCRE_SUPPORT_JIT)
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 AND PCRE_SUPPORT_UTF8)    ENDIF(PCRE_SUPPORT_JIT)
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 495  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 AND PCRE_SUPPORT_UTF8)    IF(PCRE_SUPPORT_JIT)
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 AND PCRE_SUPPORT_UTF8)    ENDIF(PCRE_SUPPORT_JIT)
503    
504    GET_TARGET_PROPERTY(PCRECPP_UNITTEST_EXE    GET_TARGET_PROPERTY(PCRECPP_UNITTEST_EXE
505                        pcrecpp_unittest                        pcrecpp_unittest
# Line 513  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 AND PCRE_SUPPORT_UTF8)    IF(PCRE_SUPPORT_JIT)
517    ADD_TEST(pcre_jit_test         ${PCRE_JIT_TEST_EXE})    ADD_TEST(pcre_jit_test         ${PCRE_JIT_TEST_EXE})
518    ENDIF(PCRE_SUPPORT_JIT AND PCRE_SUPPORT_UTF8)    ENDIF(PCRE_SUPPORT_JIT)
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.697  
changed lines
  Added in v.698

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12