/[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 198 by ph10, Mon Apr 2 13:32:07 2007 UTC revision 199 by ph10, Tue Jul 31 14:39:09 2007 UTC
# Line 58  SET(PCRE_MATCH_LIMIT_RECURSION "MATCH_LI Line 58  SET(PCRE_MATCH_LIMIT_RECURSION "MATCH_LI
58  SET(PCRE_NEWLINE "LF" CACHE STRING  SET(PCRE_NEWLINE "LF" CACHE STRING
59      "What to recognize as a newline (one of CR, LF, CRLF, ANY).")      "What to recognize as a newline (one of CR, LF, CRLF, ANY).")
60    
61  SET(PCRE_NO_RECURSE ON CACHE BOOL  SET(PCRE_NO_RECURSE OFF CACHE BOOL
62      "If ON, then don't use stack recursion when matching. See NO_RECURSE in config.h.in for details.")      "If ON, then don't use stack recursion when matching. See NO_RECURSE in config.h.in for details.")
63    
64  SET(PCRE_POSIX_MALLOC_THRESHOLD "10" CACHE STRING  SET(PCRE_POSIX_MALLOC_THRESHOLD "10" CACHE STRING
# Line 218  SET(PCRECPP_SOURCES Line 218  SET(PCRECPP_SOURCES
218  ADD_DEFINITIONS(-DHAVE_CONFIG_H)  ADD_DEFINITIONS(-DHAVE_CONFIG_H)
219    
220  IF(WIN32)  IF(WIN32)
         # What about -DDLL_EXPORT?  
221          ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)          ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
222  ENDIF(WIN32)  ENDIF(WIN32)
223    
# Line 278  SET(ENV{pcretest} ${PCRETEST_EXE}) Line 277  SET(ENV{pcretest} ${PCRETEST_EXE})
277  ")  ")
278    
279  IF(UNIX)  IF(UNIX)
280          ADD_TEST(pcre_test      ${CMAKE_SOURCE_DIR}/RunTest)          ADD_TEST(pcre_test      ${CMAKE_SOURCE_DIR}/RunTest)
281          ADD_TEST(pcre_grep_test ${CMAKE_SOURCE_DIR}/RunGrepTest)          ADD_TEST(pcre_grep_test ${CMAKE_SOURCE_DIR}/RunGrepTest)
282  ENDIF(UNIX)  ENDIF(UNIX)
283  IF(WIN32)  IF(WIN32)
# Line 317  FILE(GLOB man1 ${CMAKE_SOURCE_DIR}/doc/* Line 316  FILE(GLOB man1 ${CMAKE_SOURCE_DIR}/doc/*
316  FILE(GLOB man3 ${CMAKE_SOURCE_DIR}/doc/*.3)  FILE(GLOB man3 ${CMAKE_SOURCE_DIR}/doc/*.3)
317    
318  IF(PCRE_BUILD_PCRECPP)  IF(PCRE_BUILD_PCRECPP)
319          INSTALL(TARGETS pcrecpp DESTINATION lib)          INSTALL(TARGETS pcrecpp
320                    RUNTIME DESTINATION bin
321                    LIBRARY DESTINATION lib
322                    ARCHIVE DESTINATION lib)
323          INSTALL(FILES ${PCRECPP_HEADERS} DESTINATION include)          INSTALL(FILES ${PCRECPP_HEADERS} DESTINATION include)
324  ELSE(PCRE_BUILD_PCRECPP)  ELSE(PCRE_BUILD_PCRECPP)
325          # Remove pcrecpp.3          # Remove pcrecpp.3
# Line 332  ENDIF(PCRE_BUILD_PCRECPP) Line 334  ENDIF(PCRE_BUILD_PCRECPP)
334    
335  INSTALL(FILES ${man1} DESTINATION man/man1)  INSTALL(FILES ${man1} DESTINATION man/man1)
336  INSTALL(FILES ${man3} DESTINATION man/man3)  INSTALL(FILES ${man3} DESTINATION man/man3)
337  INSTALL(FILES ${html} DESTINATION doc/html)  INSTALL(FILES ${html} DESTINATION share/doc/pcre/html)
338    
339  # end CMakeLists.txt  # end CMakeLists.txt

Legend:
Removed from v.198  
changed lines
  Added in v.199

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12