diff options
author | Brad King <brad.king@kitware.com> | 2007-05-16 15:40:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-16 15:40:53 (GMT) |
commit | b384218ec10c18f19bbbc83cc4d5b1ac804debb7 (patch) | |
tree | 63fade0a462c67f0a103d358df4324ef42c09a7f | |
parent | b7b43934b8e8ac1c66ccf9b4666ace8f8e9073f0 (diff) | |
download | CMake-b384218ec10c18f19bbbc83cc4d5b1ac804debb7.zip CMake-b384218ec10c18f19bbbc83cc4d5b1ac804debb7.tar.gz CMake-b384218ec10c18f19bbbc83cc4d5b1ac804debb7.tar.bz2 |
BUG: Disable test of feature that is not documented or implemented everywhere.
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 2 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 2 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 2 |
6 files changed, 12 insertions, 3 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index d7245c4..12ebd26 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -88,7 +88,8 @@ ADD_CUSTOM_COMMAND(TARGET complex POST_BUILD SET_SOURCE_FILES_PROPERTIES(complex COMPILE_FLAGS - "-DFILE_HAS_EXTRA_COMPILE_FLAGS -DFILE_DEFINE_STRING=\\\"hello\\\"" + "-DFILE_HAS_EXTRA_COMPILE_FLAGS" + #" -DFILE_DEFINE_STRING=\\\"hello\\\"" OBJECT_DEPENDS ${Complex_BINARY_DIR}/cmTestGeneratedHeader.h ) SET_TARGET_PROPERTIES(complex PROPERTIES COMPILE_FLAGS "-DCOMPLEX_TARGET_FLAG") diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index c7c4ae5..0bfebb3 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -1139,6 +1139,7 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_HAS_EXTRA_COMPILE_FLAGS flag"); #endif +#if 0 // Disable until implemented everywhere. #ifndef FILE_DEFINE_STRING cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag"); #else @@ -1151,6 +1152,7 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_DEFINE_STRING flag"); } #endif +#endif #ifndef FILE_HAS_ABSTRACT cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting ABSTRACT flag"); diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index d7245c4..12ebd26 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -88,7 +88,8 @@ ADD_CUSTOM_COMMAND(TARGET complex POST_BUILD SET_SOURCE_FILES_PROPERTIES(complex COMPILE_FLAGS - "-DFILE_HAS_EXTRA_COMPILE_FLAGS -DFILE_DEFINE_STRING=\\\"hello\\\"" + "-DFILE_HAS_EXTRA_COMPILE_FLAGS" + #" -DFILE_DEFINE_STRING=\\\"hello\\\"" OBJECT_DEPENDS ${Complex_BINARY_DIR}/cmTestGeneratedHeader.h ) SET_TARGET_PROPERTIES(complex PROPERTIES COMPILE_FLAGS "-DCOMPLEX_TARGET_FLAG") diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index c7c4ae5..0bfebb3 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -1139,6 +1139,7 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_HAS_EXTRA_COMPILE_FLAGS flag"); #endif +#if 0 // Disable until implemented everywhere. #ifndef FILE_DEFINE_STRING cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag"); #else @@ -1151,6 +1152,7 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_DEFINE_STRING flag"); } #endif +#endif #ifndef FILE_HAS_ABSTRACT cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting ABSTRACT flag"); diff --git a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index d7245c4..12ebd26 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -88,7 +88,8 @@ ADD_CUSTOM_COMMAND(TARGET complex POST_BUILD SET_SOURCE_FILES_PROPERTIES(complex COMPILE_FLAGS - "-DFILE_HAS_EXTRA_COMPILE_FLAGS -DFILE_DEFINE_STRING=\\\"hello\\\"" + "-DFILE_HAS_EXTRA_COMPILE_FLAGS" + #" -DFILE_DEFINE_STRING=\\\"hello\\\"" OBJECT_DEPENDS ${Complex_BINARY_DIR}/cmTestGeneratedHeader.h ) SET_TARGET_PROPERTIES(complex PROPERTIES COMPILE_FLAGS "-DCOMPLEX_TARGET_FLAG") diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index c7c4ae5..0bfebb3 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -1139,6 +1139,7 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_HAS_EXTRA_COMPILE_FLAGS flag"); #endif +#if 0 // Disable until implemented everywhere. #ifndef FILE_DEFINE_STRING cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag"); #else @@ -1151,6 +1152,7 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_DEFINE_STRING flag"); } #endif +#endif #ifndef FILE_HAS_ABSTRACT cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting ABSTRACT flag"); |