/[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 684 by ph10, Tue Sep 6 10:44:57 2011 UTC revision 685 by ph10, Tue Sep 6 15:02:07 2011 UTC
# Line 40  Line 40 
40  # 2011-08-01 PH added PCREGREP_BUFSIZE  # 2011-08-01 PH added PCREGREP_BUFSIZE
41  # 2011-08-22 PH added PCRE_SUPPORT_JIT  # 2011-08-22 PH added PCRE_SUPPORT_JIT
42  # 2011-09-06 PH modified WIN32 ADD_TEST line as suggested by Sergey Cherepanov  # 2011-09-06 PH modified WIN32 ADD_TEST line as suggested by Sergey Cherepanov
43    # 2011-09-06 PH added PCRE_SUPPORT_PCREGREP_JIT
44    
45  PROJECT(PCRE C CXX)  PROJECT(PCRE C CXX)
46    
# Line 117  SET(PCRE_POSIX_MALLOC_THRESHOLD "10" CAC Line 118  SET(PCRE_POSIX_MALLOC_THRESHOLD "10" CAC
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
122        "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 213  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)
220    ELSE
221            SET(PCRE_SUPPORT_PCREGREP_JIT 0)
222  ENDIF(PCRE_SUPPORT_JIT)  ENDIF(PCRE_SUPPORT_JIT)
223    
224    IF(PCRE_SUPPORT_PCREGREP_JIT)
225            SET(SUPPORT_PCREGREP_JIT 1)
226    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})
230  # 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 586  IF(PCRE_SHOW_REPORT) Line 596  IF(PCRE_SHOW_REPORT)
596    MESSAGE(STATUS "  Build shared libs ............... : ${BUILD_SHARED_LIBS}")    MESSAGE(STATUS "  Build shared libs ............... : ${BUILD_SHARED_LIBS}")
597    MESSAGE(STATUS "  Build static libs ............... : ${BUILD_STATIC_LIBS}")    MESSAGE(STATUS "  Build static libs ............... : ${BUILD_STATIC_LIBS}")
598    MESSAGE(STATUS "  Build pcregrep .................. : ${PCRE_BUILD_PCREGREP}")    MESSAGE(STATUS "  Build pcregrep .................. : ${PCRE_BUILD_PCREGREP}")
599      MESSAGE(STATUS "  Enable JIT in pcregrep .......... : ${PCRE_SUPPORT_PCREGREP_JIT}")
600    MESSAGE(STATUS "  Buffer size for pcregrep ........ : ${PCREGREP_BUFSIZE}")    MESSAGE(STATUS "  Buffer size for pcregrep ........ : ${PCREGREP_BUFSIZE}")
601    MESSAGE(STATUS "  Build tests (implies pcretest) .. : ${PCRE_BUILD_TESTS}")    MESSAGE(STATUS "  Build tests (implies pcretest) .. : ${PCRE_BUILD_TESTS}")
602    IF(ZLIB_FOUND)    IF(ZLIB_FOUND)

Legend:
Removed from v.684  
changed lines
  Added in v.685

  ViewVC Help
Powered by ViewVC 1.1.5