163 |
|
|
164 |
SET(PCRE_SUPPORT_VALGRIND OFF CACHE BOOL |
SET(PCRE_SUPPORT_VALGRIND OFF CACHE BOOL |
165 |
"Enable Valgrind support.") |
"Enable Valgrind support.") |
166 |
|
|
167 |
SET(PCRE_SUPPORT_COVERAGE OFF CACHE BOOL |
SET(PCRE_SUPPORT_COVERAGE OFF CACHE BOOL |
168 |
"Enable code coverage support using gcov.") |
"Enable code coverage support using gcov.") |
169 |
|
|
170 |
OPTION(PCRE_SHOW_REPORT "Show the final configuration report" ON) |
OPTION(PCRE_SHOW_REPORT "Show the final configuration report" ON) |
171 |
OPTION(PCRE_BUILD_PCREGREP "Build pcregrep" ON) |
OPTION(PCRE_BUILD_PCREGREP "Build pcregrep" ON) |
299 |
IF(PCRE_SUPPORT_COVERAGE) |
IF(PCRE_SUPPORT_COVERAGE) |
300 |
SET(SUPPORT_GCOV 1) |
SET(SUPPORT_GCOV 1) |
301 |
IF(NOT CMAKE_COMPILER_IS_GNUCC) |
IF(NOT CMAKE_COMPILER_IS_GNUCC) |
302 |
MESSAGE(FATAL_ERROR "Code coverage reports can only be generated when using GCC") |
MESSAGE(FATAL_ERROR "Code coverage reports can only be generated when using GCC") |
303 |
ENDIF(NOT CMAKE_COMPILER_IS_GNUCC) |
ENDIF(NOT CMAKE_COMPILER_IS_GNUCC) |
304 |
ENDIF(PCRE_SUPPORT_COVERAGE) |
ENDIF(PCRE_SUPPORT_COVERAGE) |
305 |
|
|
306 |
# This next one used to contain |
# This next one used to contain |
307 |
# SET(PCRETEST_LIBS ${READLINE_LIBRARY}) |
# SET(PCRETEST_LIBS ${READLINE_LIBRARY}) |
372 |
IF(PCRE_NEWLINE STREQUAL "CRLF") |
IF(PCRE_NEWLINE STREQUAL "CRLF") |
373 |
SET(NEWLINE "3365") |
SET(NEWLINE "3365") |
374 |
ENDIF(PCRE_NEWLINE STREQUAL "CRLF") |
ENDIF(PCRE_NEWLINE STREQUAL "CRLF") |
375 |
ENDIF(PCRE_EBCDIC_NL25) |
ENDIF(PCRE_EBCDIC_NL25) |
376 |
|
|
377 |
IF(PCRE_NO_RECURSE) |
IF(PCRE_NO_RECURSE) |
378 |
SET(NO_RECURSE 1) |
SET(NO_RECURSE 1) |
947 |
MESSAGE(STATUS " Link pcretest with libreadline .. : Library not found" ) |
MESSAGE(STATUS " Link pcretest with libreadline .. : Library not found" ) |
948 |
ENDIF(READLINE_FOUND) |
ENDIF(READLINE_FOUND) |
949 |
MESSAGE(STATUS " Support Valgrind .................: ${PCRE_SUPPORT_VALGRIND}") |
MESSAGE(STATUS " Support Valgrind .................: ${PCRE_SUPPORT_VALGRIND}") |
950 |
MESSAGE(STATUS " Support coverage .................: ${PCRE_SUPPORT_COVERAGE}") |
MESSAGE(STATUS " Support coverage .................: ${PCRE_SUPPORT_COVERAGE}") |
951 |
|
|
952 |
IF(MINGW AND NOT PCRE_STATIC) |
IF(MINGW AND NOT PCRE_STATIC) |
953 |
MESSAGE(STATUS " Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}") |
MESSAGE(STATUS " Non-standard dll names (prefix) . : ${NON_STANDARD_LIB_PREFIX}") |