diff options
author | Brad King <brad.king@kitware.com> | 2011-12-23 20:55:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-12-23 21:16:57 (GMT) |
commit | 53d31c2426835d372f3286d134c90b5f6cc79441 (patch) | |
tree | 5ff4ccd64626c377f2dd7288777789ffa11fbb3a /Tests/ComplexOneConfig/Executable/complex.cxx | |
parent | c1789e69869370889bbe57f2ec8606ba45ab5034 (diff) | |
download | CMake-53d31c2426835d372f3286d134c90b5f6cc79441.zip CMake-53d31c2426835d372f3286d134c90b5f6cc79441.tar.gz CMake-53d31c2426835d372f3286d134c90b5f6cc79441.tar.bz2 |
complex: Remove unused option to test CMakeLib
Now that the Complex tests do not depend on cmSystemTools or other
classes from CMakeLib the COMPLEX_TEST_CMAKELIB option is useless.
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index ca73bcb..1901d99 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -9,14 +9,10 @@ extern "C" { #include "testConly.h" } -#ifdef COMPLEX_TEST_CMAKELIB -#include "cmStandardIncludes.h" -#else #include <vector> #include <string> #include <iostream> #include <string.h> -#endif #include <stdio.h> #include <sys/stat.h> @@ -69,7 +65,6 @@ void cmPassed(const char* Message, const char* m2="") # error Per-configuration directory-level definition not inherited. #endif -#ifdef COMPLEX_TEST_CMAKELIB // ====================================================================== void TestAndRemoveFile(const char* filename) @@ -107,8 +102,6 @@ void TestDir(const char* filename) } } -#endif - // Here is a stupid function that tries to use std::string methods // so that the dec cxx compiler will instantiate the stuff that // we are using from the CMakeLib library.... @@ -792,7 +785,6 @@ int main() } #endif -#ifdef COMPLEX_TEST_CMAKELIB // ---------------------------------------------------------------------- // Some pre-build/pre-link/post-build custom-commands have been // attached to the lib (see Library/). @@ -838,7 +830,6 @@ int main() // only created during a build. TestAndRemoveFile(BINARY_DIR "/Executable/Temp/complex-required.txt"); -#endif // ---------------------------------------------------------------------- // Test FIND_LIBRARY |