COMP: Cleanup regular expressions

This commit is contained in:
Andy Cedilnik 2005-12-30 14:50:15 -05:00
parent 7b02221059
commit 8b9512559d
6 changed files with 7 additions and 6 deletions

View File

@ -147,7 +147,7 @@ SET(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL
"Where to put the libraries for CMake" "Where to put the libraries for CMake"
) )
INCLUDE_REGULAR_EXPRESSION("^(\\.\\./)?(cm|CMake|form|ctest).*") INCLUDE_REGULAR_EXPRESSION("^.*$")
CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage
${CMake_BINARY_DIR}/Tests/.NoDartCoverage) ${CMake_BINARY_DIR}/Tests/.NoDartCoverage)

View File

@ -1,5 +1,7 @@
CMAKE_MINIMUM_REQUIRED(VERSION 1.5) CMAKE_MINIMUM_REQUIRED(VERSION 1.5)
INCLUDE_REGULAR_EXPRESSION("^.*$")
# configure the .h file # configure the .h file
CONFIGURE_FILE( CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Source/cmConfigure.cmake.h.in" "${CMake_SOURCE_DIR}/Source/cmConfigure.cmake.h.in"

View File

@ -1,7 +1,7 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.0) CMAKE_MINIMUM_REQUIRED(VERSION 2.0)
PROJECT(LIBCURL C) PROJECT(LIBCURL C)
INCLUDE_REGULAR_EXPRESSION("^.*\\.h$") INCLUDE_REGULAR_EXPRESSION("^.*$")
# Setup package meta-data # Setup package meta-data
SET(PACKAGE "curl") SET(PACKAGE "curl")

View File

@ -1,5 +1,5 @@
PROJECT(CMEXPAT) PROJECT(CMEXPAT)
INCLUDE_REGULAR_EXPRESSION("^(expat|xml|ascii|utf|name|iascii|latin|cm).*$") INCLUDE_REGULAR_EXPRESSION("^.*$")
SET(expat_SRCS SET(expat_SRCS
xmlparse.c xmlparse.c

View File

@ -1,6 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.0) CMAKE_MINIMUM_REQUIRED(VERSION 2.0)
PROJECT(LIBTAR C) PROJECT(LIBTAR C)
INCLUDE_REGULAR_EXPRESSION("^.*\\.h$") INCLUDE_REGULAR_EXPRESSION("^.*$")
# We need ansi c-flags, especially on HP # We need ansi c-flags, especially on HP
SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")

View File

@ -1,5 +1,4 @@
PROJECT(CMZLIB) PROJECT(CMZLIB)
INCLUDE_REGULAR_EXPRESSION("^(deflate|inf|trees|zconf|zlib|zutil).*$")
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(
"${CMZLIB_SOURCE_DIR}" "${CMZLIB_SOURCE_DIR}"
@ -13,7 +12,7 @@ INCLUDE_DIRECTORIES(
ADD_DEFINITIONS(-DCMZLIB_IN_C) ADD_DEFINITIONS(-DCMZLIB_IN_C)
# Match all headers for dependencies but complain about none. # Match all headers for dependencies but complain about none.
INCLUDE_REGULAR_EXPRESSION("^.*$" "^$") INCLUDE_REGULAR_EXPRESSION("^.*$")
# source files for zlib # source files for zlib
SET(ZLIB_SRCS SET(ZLIB_SRCS