/[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 311 by ph10, Wed Jan 23 17:34:58 2008 UTC revision 312 by ph10, Wed Jan 23 18:02:23 2008 UTC
# Line 24  Line 24 
24  #            be built with suffix of "-0.dll". (The libraries will be named  #            be built with suffix of "-0.dll". (The libraries will be named
25  #            libpcre-0.dll, libpcreposix-0.dll and libpcrecpp-0.dll - same names  #            libpcre-0.dll, libpcreposix-0.dll and libpcrecpp-0.dll - same names
26  #            built by default with Configure and Make.  #            built by default with Configure and Make.
27    # 2008-01-23 PH removed the automatic build of pcredemo.
28    
29  PROJECT(PCRE C CXX)  PROJECT(PCRE C CXX)
30    
# Line 361  TARGET_LINK_LIBRARIES(pcretest pcreposix Line 362  TARGET_LINK_LIBRARIES(pcretest pcreposix
362  ADD_EXECUTABLE(pcregrep pcregrep.c)  ADD_EXECUTABLE(pcregrep pcregrep.c)
363  TARGET_LINK_LIBRARIES(pcregrep pcreposix ${PCREGREP_LIBS})  TARGET_LINK_LIBRARIES(pcregrep pcreposix ${PCREGREP_LIBS})
364    
365  ADD_EXECUTABLE(pcredemo pcredemo.c)  # Removed by PH (2008-01-23) because pcredemo shouldn't really be built
366  TARGET_LINK_LIBRARIES(pcredemo pcreposix)  # automatically, and it gave trouble in some environments anyway.
367  IF(NOT BUILD_SHARED_LIBS)  # ADD_EXECUTABLE(pcredemo pcredemo.c)
368      # make sure to not use declspec(dllimport) in static mode on windows  # TARGET_LINK_LIBRARIES(pcredemo pcreposix)
369          SET_TARGET_PROPERTIES(pcredemo PROPERTIES COMPILE_FLAGS "-DPCRE_STATIC")  # IF(NOT BUILD_SHARED_LIBS)
370  ENDIF(NOT BUILD_SHARED_LIBS)  #     # make sure to not use declspec(dllimport) in static mode on windows
371    #         SET_TARGET_PROPERTIES(pcredemo PROPERTIES COMPILE_FLAGS "-DPCRE_STATIC")
372    # ENDIF(NOT BUILD_SHARED_LIBS)
373    
374  IF(PCRE_BUILD_PCRECPP)  IF(PCRE_BUILD_PCRECPP)
375          ADD_EXECUTABLE(pcrecpp_unittest pcrecpp_unittest.cc)          ADD_EXECUTABLE(pcrecpp_unittest pcrecpp_unittest.cc)

Legend:
Removed from v.311  
changed lines
  Added in v.312

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12