summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Executable/complex.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-23 20:55:34 (GMT)
committerBrad King <brad.king@kitware.com>2011-12-23 21:16:57 (GMT)
commit53d31c2426835d372f3286d134c90b5f6cc79441 (patch)
tree5ff4ccd64626c377f2dd7288777789ffa11fbb3a /Tests/Complex/Executable/complex.cxx
parentc1789e69869370889bbe57f2ec8606ba45ab5034 (diff)
downloadCMake-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/Complex/Executable/complex.cxx')
-rw-r--r--Tests/Complex/Executable/complex.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index ca73bcb..1901d99 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/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