/[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 412 by ph10, Fri Apr 10 15:40:21 2009 UTC revision 413 by ph10, Sat Apr 11 11:41:52 2009 UTC
# Line 33  Line 33 
33  # 2009-03-23 PH applied a modified version of Steven Van Ingelgem's patches to  # 2009-03-23 PH applied a modified version of Steven Van Ingelgem's patches to
34  #            add options to stop the building of pcregrep and the tests, and  #            add options to stop the building of pcregrep and the tests, and
35  #            to disable the final configuration report.  #            to disable the final configuration report.
36    # 2009-04-11 PH applied Christian Ehrlicher's patch to show compiler flags that
37    #            are set by specifying a release type.
38    
39  PROJECT(PCRE C CXX)  PROJECT(PCRE C CXX)
40    
# Line 518  ELSE(BUILD_SHARED_LIBS) Line 520  ELSE(BUILD_SHARED_LIBS)
520  ENDIF(BUILD_SHARED_LIBS)  ENDIF(BUILD_SHARED_LIBS)
521    
522  IF(PCRE_SHOW_REPORT)  IF(PCRE_SHOW_REPORT)
523      STRING(TOUPPER ${CMAKE_BUILD_TYPE} buildtype)
524      IF (CMAKE_C_FLAGS)
525        SET(cfsp " ")
526      ENDIF(CMAKE_C_FLAGS)
527      IF (CMAKE_CXX_FLAGS)
528        SET(cxxfsp " ")
529      ENDIF(CMAKE_CXX_FLAGS)
530    MESSAGE(STATUS "")    MESSAGE(STATUS "")
531    MESSAGE(STATUS "")    MESSAGE(STATUS "")
532    MESSAGE(STATUS "PCRE configuration summary:")    MESSAGE(STATUS "PCRE configuration summary:")
533    MESSAGE(STATUS "")    MESSAGE(STATUS "")
534    MESSAGE(STATUS "  Install prefix .................. : " ${CMAKE_INSTALL_PREFIX})    MESSAGE(STATUS "  Install prefix .................. : ${CMAKE_INSTALL_PREFIX}")
535    MESSAGE(STATUS "  C compiler ...................... : " ${CMAKE_C_COMPILER})    MESSAGE(STATUS "  C compiler ...................... : ${CMAKE_C_COMPILER}")
536    MESSAGE(STATUS "  C++ compiler .................... : " ${CMAKE_CXX_COMPILER})    MESSAGE(STATUS "  C++ compiler .................... : ${CMAKE_CXX_COMPILER}")
537    MESSAGE(STATUS "  C compiler flags ................ : " ${CMAKE_C_FLAGS})   #FIXME    MESSAGE(STATUS "  C compiler flags ................ : ${CMAKE_C_FLAGS}${cfsp}${CMAKE_C_FLAGS_${buildtype}}")
538    MESSAGE(STATUS "  C++ compiler flags .............. : " ${CMAKE_CXX_FLAGS}) #FIXME    MESSAGE(STATUS "  C++ compiler flags .............. : ${CMAKE_CXX_FLAGS}${cxxfsp}${CMAKE_CXX_FLAGS_${buildtype}}")
539    MESSAGE(STATUS "")    MESSAGE(STATUS "")
540    MESSAGE(STATUS "  Build C++ library ............... : " ${PCRE_BUILD_PCRECPP})    MESSAGE(STATUS "  Build C++ library ............... : ${PCRE_BUILD_PCRECPP}")
541    MESSAGE(STATUS "  Enable UTF-8 support ............ : " ${PCRE_SUPPORT_UNICODE_PROPERTIES})    MESSAGE(STATUS "  Enable UTF-8 support ............ : ${PCRE_SUPPORT_UNICODE_PROPERTIES}")
542    MESSAGE(STATUS "  Unicode properties .............. : " ${PCRE_SUPPORT_UNICODE_PROPERTIES})    MESSAGE(STATUS "  Unicode properties .............. : ${PCRE_SUPPORT_UNICODE_PROPERTIES}")
543    MESSAGE(STATUS "  Newline char/sequence ........... : " ${PCRE_NEWLINE})    MESSAGE(STATUS "  Newline char/sequence ........... : ${PCRE_NEWLINE}")
544    MESSAGE(STATUS "  \\R matches only ANYCRLF ......... : " ${PCRE_SUPPORT_BSR_ANYCRLF})    MESSAGE(STATUS "  \\R matches only ANYCRLF ......... : ${PCRE_SUPPORT_BSR_ANYCRLF}")
545    MESSAGE(STATUS "  EBCDIC coding ................... : " ${PCRE_EBCDIC})    MESSAGE(STATUS "  EBCDIC coding ................... : ${PCRE_EBCDIC}")
546    MESSAGE(STATUS "  Rebuild char tables ............. : " ${PCRE_REBUILD_CHARTABLES})    MESSAGE(STATUS "  Rebuild char tables ............. : ${PCRE_REBUILD_CHARTABLES}")
547    MESSAGE(STATUS "  No stack recursion .............. : " ${PCRE_NO_RECURSE})    MESSAGE(STATUS "  No stack recursion .............. : ${PCRE_NO_RECURSE}")
548    MESSAGE(STATUS "  POSIX mem threshold ............. : " ${PCRE_POSIX_MALLOC_THRESHOLD})    MESSAGE(STATUS "  POSIX mem threshold ............. : ${PCRE_POSIX_MALLOC_THRESHOLD}")
549    MESSAGE(STATUS "  Internal link size .............. : " ${PCRE_LINK_SIZE})    MESSAGE(STATUS "  Internal link size .............. : ${PCRE_LINK_SIZE}")
550    MESSAGE(STATUS "  Match limit ..................... : " ${PCRE_MATCH_LIMIT})    MESSAGE(STATUS "  Match limit ..................... : ${PCRE_MATCH_LIMIT}")
551    MESSAGE(STATUS "  Match limit recursion ........... : " ${PCRE_MATCH_LIMIT_RECURSION})    MESSAGE(STATUS "  Match limit recursion ........... : ${PCRE_MATCH_LIMIT_RECURSION}")
552    MESSAGE(STATUS "  Build shared libs ............... : " ${BUILD_SHARED_LIBS})    MESSAGE(STATUS "  Build shared libs ............... : ${BUILD_SHARED_LIBS}")
553    MESSAGE(STATUS "  Build static libs ............... : " ${BUILD_STATIC_LIBS})    MESSAGE(STATUS "  Build static libs ............... : ${BUILD_STATIC_LIBS}")
554    MESSAGE(STATUS "  Build pcregrep .................. : " ${PCRE_BUILD_PCREGREP})    MESSAGE(STATUS "  Build pcregrep .................. : ${PCRE_BUILD_PCREGREP}")
555    MESSAGE(STATUS "  Build tests (implies pcretest) .. : " ${PCRE_BUILD_TESTS})    MESSAGE(STATUS "  Build tests (implies pcretest) .. : ${PCRE_BUILD_TESTS}")
556    IF(ZLIB_FOUND)    IF(ZLIB_FOUND)
557      MESSAGE(STATUS "  Link pcregrep with libz ......... : " ${PCRE_SUPPORT_LIBZ})      MESSAGE(STATUS "  Link pcregrep with libz ......... : ${PCRE_SUPPORT_LIBZ}")
558    ELSE(ZLIB_FOUND)    ELSE(ZLIB_FOUND)
559      MESSAGE(STATUS "  Link pcregrep with libz ......... : None" )      MESSAGE(STATUS "  Link pcregrep with libz ......... : None" )
560    ENDIF(ZLIB_FOUND)    ENDIF(ZLIB_FOUND)
561    IF(BZIP2_FOUND)    IF(BZIP2_FOUND)
562      MESSAGE(STATUS "  Link pcregrep with libbz2 ....... : " ${PCRE_SUPPORT_LIBBZ2})      MESSAGE(STATUS "  Link pcregrep with libbz2 ....... : ${PCRE_SUPPORT_LIBBZ2}")
563    ELSE(BZIP2_FOUND)    ELSE(BZIP2_FOUND)
564      MESSAGE(STATUS "  Link pcregrep with libbz2 ....... : None" )      MESSAGE(STATUS "  Link pcregrep with libbz2 ....... : None" )
565    ENDIF(BZIP2_FOUND)    ENDIF(BZIP2_FOUND)
566    IF(NOT PCRE_SUPPORT_LIBREADLINE)    IF(NOT PCRE_SUPPORT_LIBREADLINE)
567      MESSAGE(STATUS "  Link pcretest with libreadline .. : None" )      MESSAGE(STATUS "  Link pcretest with libreadline .. : None" )
568    ELSE(NOT PCRE_SUPPORT_LIBREADLINE)    ELSE(NOT PCRE_SUPPORT_LIBREADLINE)
569      MESSAGE(STATUS "  Link pcretest with libreadline .. : " ${PCRE_SUPPORT_LIBREADLINE})      MESSAGE(STATUS "  Link pcretest with libreadline .. : ${PCRE_SUPPORT_LIBREADLINE}")
570    ENDIF(NOT PCRE_SUPPORT_LIBREADLINE)    ENDIF(NOT PCRE_SUPPORT_LIBREADLINE)
571    IF(MINGW AND NOT PCRE_STATIC)    IF(MINGW AND NOT PCRE_STATIC)
572      MESSAGE(STATUS "  Non-standard dll names (prefix) . : " ${NON_STANDARD_LIB_PREFIX})      MESSAGE(STATUS "  Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}")
573      MESSAGE(STATUS "  Non-standard dll names (suffix) . : " ${NON_STANDARD_LIB_SUFFIX})      MESSAGE(STATUS "  Non-standard dll names (suffix) . : ${NON_STANDARD_LIB_SUFFIX}")
574    ENDIF(MINGW AND NOT PCRE_STATIC)    ENDIF(MINGW AND NOT PCRE_STATIC)
575    MESSAGE(STATUS "")    MESSAGE(STATUS "")
576  ENDIF(PCRE_SHOW_REPORT)  ENDIF(PCRE_SHOW_REPORT)

Legend:
Removed from v.412  
changed lines
  Added in v.413

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12