ENH: set expected failure for tests
[cmake.git] / Tests / ComplexOneConfig / cmTestConfigure.h.in
blobd7952da1ea597f7ccf89853a21bb103c93242c08
1 // Test SET, VARIABLE_REQUIRES
3 #cmakedefine ONE_VAR
4 #cmakedefine ONE_VAR_IS_DEFINED
5 #cmakedefine ZERO_VAR
7 #cmakedefine COMPLEX_TEST_CMAKELIB
9 #define STRING_VAR "${STRING_VAR}"
11 // Test FOREACH
13 #define FOREACH_VAR1 "${FOREACH_VAR1}"
14 #define FOREACH_VAR2 "${FOREACH_VAR2}"
15 #define FOREACH_CONCAT "${FOREACH_CONCAT}"
17 // Test WHILE
18 #define WHILE_VALUE ${while_var}
20 // Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations
22 #define FILENAME_VAR_PATH_NAME "${FILENAME_VAR_PATH_NAME}"
23 #define FILENAME_VAR_NAME "${FILENAME_VAR_NAME}"
24 #define FILENAME_VAR_EXT "${FILENAME_VAR_EXT}"
25 #define FILENAME_VAR_NAME_WE "${FILENAME_VAR_NAME_WE}"
27 #define PATH_VAR_NAME "${PATH_VAR_NAME}"
29 // Test LOAD_CACHE
31 #define CACHE_TEST_VAR1 "${CACHE_TEST_VAR1}"
32 #define CACHE_TEST_VAR2 "${CACHE_TEST_VAR2}"
33 #define CACHE_TEST_VAR3 "${CACHE_TEST_VAR3}"
34 #cmakedefine CACHE_TEST_VAR_EXCLUDED
35 #define CACHE_TEST_VAR_INTERNAL "${CACHE_TEST_VAR_INTERNAL}"
37 // Test internal CMake vars from C++ flags
39 #cmakedefine CMAKE_NO_STD_NAMESPACE
40 #cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS
41 #cmakedefine CMAKE_NO_ANSI_STRING_STREAM
42 #cmakedefine CMAKE_NO_ANSI_FOR_SCOPE
44 #cmakedefine01 SHOULD_BE_ZERO
45 #cmakedefine01 SHOULD_BE_ONE
46 // Needed to check for files
48 #define BINARY_DIR "${Complex_BINARY_DIR}"
50 // Test FIND_LIBRARY
52 #define FIND_DUMMY_LIB "${FIND_DUMMY_LIB}"
54 // Test SET_SOURCE_FILES_PROPERTIES
56 #cmakedefine FILE_HAS_ABSTRACT
57 #cmakedefine FILE_HAS_WRAP_EXCLUDE
58 #define FILE_COMPILE_FLAGS "${FILE_COMPILE_FLAGS}"
60 #define TEST_SEP "${TEST_SEP}"
62 // Test registry read
64 #if defined(_WIN32) && !defined(__CYGWIN__)
65 #define REGISTRY_TEST_PATH "${REGISTRY_TEST_PATH}"
66 #endif
68 // Test Remove command
69 #define REMOVE_STRING "${REMOVE_STRING}"
71 // Test IF inside FOREACH
72 #cmakedefine IF_INSIDE_FOREACH_THEN_EXECUTED
73 #cmakedefine IF_INSIDE_FOREACH_ELSE_EXECUTED
75 // Test SET CACHE FORCE
76 #cmakedefine FORCE_TEST
77 #define CMAKE_GENERATOR "${CMAKE_GENERATOR}"
79 #define CMAKE_SHARED_MODULE_PREFIX "${CMAKE_SHARED_MODULE_PREFIX}"
80 #define CMAKE_SHARED_MODULE_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}"
82 // test elseif
83 #cmakedefine ELSEIF_RESULT
85 // test parenthesis in conditionals
86 #cmakedefine CONDITIONAL_PARENTHESES