STYLE: Nightly Version update
[cmake.git] / Tests / ComplexOneConfig / cmTestConfigure.h.in
blob0d380b10559c0d3f050e6944124dac5b014b2abe
1 // Test SET, VARIABLE_REQUIRES
3 #cmakedefine ONE_VAR
4 #cmakedefine ONE_VAR_IS_DEFINED
5 #cmakedefine ZERO_VAR
7 #define STRING_VAR "${STRING_VAR}"
9 // Test FOREACH
11 #define FOREACH_VAR1 "${FOREACH_VAR1}"
12 #define FOREACH_VAR2 "${FOREACH_VAR2}"
13 #define FOREACH_CONCAT "${FOREACH_CONCAT}"
15 // Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations
17 #define FILENAME_VAR_PATH_NAME "${FILENAME_VAR_PATH_NAME}"
18 #define FILENAME_VAR_NAME "${FILENAME_VAR_NAME}"
19 #define FILENAME_VAR_EXT "${FILENAME_VAR_EXT}"
20 #define FILENAME_VAR_NAME_WE "${FILENAME_VAR_NAME_WE}"
22 #define PATH_VAR_NAME "${PATH_VAR_NAME}"
24 // Test LOAD_CACHE
26 #define CACHE_TEST_VAR1 "${CACHE_TEST_VAR1}"
27 #define CACHE_TEST_VAR2 "${CACHE_TEST_VAR2}"
28 #define CACHE_TEST_VAR3 "${CACHE_TEST_VAR3}"
29 #cmakedefine CACHE_TEST_VAR_EXCLUDED
30 #define CACHE_TEST_VAR_INTERNAL "${CACHE_TEST_VAR_INTERNAL}"
32 // Test internal CMake vars from C++ flags
34 #cmakedefine CMAKE_NO_STD_NAMESPACE
35 #cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS
36 #cmakedefine CMAKE_NO_ANSI_STRING_STREAM
37 #cmakedefine CMAKE_NO_ANSI_FOR_SCOPE
39 // Needed to check for files
41 #define BINARY_DIR "${Complex_BINARY_DIR}"
43 // Test FIND_LIBRARY
45 #define FIND_DUMMY_LIB "${FIND_DUMMY_LIB}"
47 // Test SET_SOURCE_FILES_PROPERTIES
49 #cmakedefine FILE_HAS_ABSTRACT
50 #cmakedefine FILE_HAS_WRAP_EXCLUDE
51 #define FILE_COMPILE_FLAGS "${FILE_COMPILE_FLAGS}"
53 #define TEST_SEP "${TEST_SEP}"
55 // Test registry read
57 #if defined(_WIN32) && !defined(__CYGWIN__)
58 #define REGISTRY_TEST_PATH "${REGISTRY_TEST_PATH}"
59 #endif
61 // Test Remove command
62 #define REMOVE_STRING "${REMOVE_STRING}"
64 // Test IF inside FOREACH
65 #cmakedefine IF_INSIDE_FOREACH_THEN_EXECUTED
66 #cmakedefine IF_INSIDE_FOREACH_ELSE_EXECUTED
68 // Test SET CACHE FORCE
69 #cmakedefine FORCE_TEST