Commit 8b951255 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Cleanup regular expressions

parent 7b022210
...@@ -147,7 +147,7 @@ SET(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL ...@@ -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)
......
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"
......
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")
......
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
......
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}")
......
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( ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment