diff options
Diffstat (limited to 'Tests/ComplexOneConfig/cmTestConfigure.h.in')
-rw-r--r-- | Tests/ComplexOneConfig/cmTestConfigure.h.in | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Tests/ComplexOneConfig/cmTestConfigure.h.in b/Tests/ComplexOneConfig/cmTestConfigure.h.in index 52baea1..bd4f9a3 100644 --- a/Tests/ComplexOneConfig/cmTestConfigure.h.in +++ b/Tests/ComplexOneConfig/cmTestConfigure.h.in @@ -1,12 +1,18 @@ +// Test SET, VARIABLE_REQUIRES + #cmakedefine ONE_VAR #cmakedefine ONE_VAR_IS_DEFINED #cmakedefine ZERO_VAR #define STRING_VAR "${STRING_VAR}" +// Test FOREACH + #define FOREACH_VAR1 "${FOREACH_VAR1}" #define FOREACH_VAR2 "${FOREACH_VAR2}" +// Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations + #define FILENAME_VAR_PATH_NAME "${FILENAME_VAR_PATH_NAME}" #define FILENAME_VAR_NAME "${FILENAME_VAR_NAME}" #define FILENAME_VAR_EXT "${FILENAME_VAR_EXT}" @@ -14,20 +20,18 @@ #define PATH_VAR_NAME "${PATH_VAR_NAME}" -#cmakedefine CMAKE_NO_STD_NAMESPACE -#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS -#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE +// Test LOAD_CACHE #define CACHE_TEST_VAR1 "${CACHE_TEST_VAR1}" #define CACHE_TEST_VAR2 "${CACHE_TEST_VAR2}" #define CACHE_TEST_VAR3 "${CACHE_TEST_VAR3}" -// Needed to check for files +// Test internal CMake vars from C++ flags -#define BINARY_DIR "${Complex_BINARY_DIR}" +#cmakedefine CMAKE_NO_STD_NAMESPACE +#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS +#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE -// Coverage only +// Needed to check for files -#define BUILD_COMMAND_VAR "${BUILD_COMMAND_VAR}" -#define BUILD_NAME_VAR "${BUILD_NAME_VAR}" -#define SITE_NAME_VAR "${SITE_NAME_VAR}" +#define BINARY_DIR "${Complex_BINARY_DIR}" |