From 8b9512559dab2ed2a9bca1052b74c899d8983b49 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 30 Dec 2005 14:50:15 -0500 Subject: COMP: Cleanup regular expressions --- CMakeLists.txt | 2 +- Source/CMakeLists.txt | 2 ++ Utilities/cmcurl/CMakeLists.txt | 2 +- Utilities/cmexpat/CMakeLists.txt | 2 +- Utilities/cmtar/CMakeLists.txt | 2 +- Utilities/cmzlib/CMakeLists.txt | 3 +-- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cb51848..16c8633 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ SET(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL "Where to put the libraries for CMake" ) -INCLUDE_REGULAR_EXPRESSION("^(\\.\\./)?(cm|CMake|form|ctest).*") +INCLUDE_REGULAR_EXPRESSION("^.*$") CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage ${CMake_BINARY_DIR}/Tests/.NoDartCoverage) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 29cbaf9..89ad2a0 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1,5 +1,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 1.5) +INCLUDE_REGULAR_EXPRESSION("^.*$") + # configure the .h file CONFIGURE_FILE( "${CMake_SOURCE_DIR}/Source/cmConfigure.cmake.h.in" diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 14f19b5..f2367e4 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -1,7 +1,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.0) PROJECT(LIBCURL C) -INCLUDE_REGULAR_EXPRESSION("^.*\\.h$") +INCLUDE_REGULAR_EXPRESSION("^.*$") # Setup package meta-data SET(PACKAGE "curl") diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt index 0cff343..e10888d 100644 --- a/Utilities/cmexpat/CMakeLists.txt +++ b/Utilities/cmexpat/CMakeLists.txt @@ -1,5 +1,5 @@ PROJECT(CMEXPAT) -INCLUDE_REGULAR_EXPRESSION("^(expat|xml|ascii|utf|name|iascii|latin|cm).*$") +INCLUDE_REGULAR_EXPRESSION("^.*$") SET(expat_SRCS xmlparse.c diff --git a/Utilities/cmtar/CMakeLists.txt b/Utilities/cmtar/CMakeLists.txt index ee9d681..016173f 100644 --- a/Utilities/cmtar/CMakeLists.txt +++ b/Utilities/cmtar/CMakeLists.txt @@ -1,6 +1,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.0) PROJECT(LIBTAR C) -INCLUDE_REGULAR_EXPRESSION("^.*\\.h$") +INCLUDE_REGULAR_EXPRESSION("^.*$") # We need ansi c-flags, especially on HP SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") diff --git a/Utilities/cmzlib/CMakeLists.txt b/Utilities/cmzlib/CMakeLists.txt index 793e6f4..3dedcd4 100644 --- a/Utilities/cmzlib/CMakeLists.txt +++ b/Utilities/cmzlib/CMakeLists.txt @@ -1,5 +1,4 @@ PROJECT(CMZLIB) -INCLUDE_REGULAR_EXPRESSION("^(deflate|inf|trees|zconf|zlib|zutil).*$") INCLUDE_DIRECTORIES( "${CMZLIB_SOURCE_DIR}" @@ -13,7 +12,7 @@ INCLUDE_DIRECTORIES( ADD_DEFINITIONS(-DCMZLIB_IN_C) # Match all headers for dependencies but complain about none. -INCLUDE_REGULAR_EXPRESSION("^.*$" "^$") +INCLUDE_REGULAR_EXPRESSION("^.*$") # source files for zlib SET(ZLIB_SRCS -- cgit v0.12