[cmake-commits] king committed complex.cxx 1.89 1.90
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Oct 22 11:57:17 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/Complex/Executable
In directory public:/mounts/ram/cvs-serv16290
Modified Files:
complex.cxx
Log Message:
COMP: Fixed typo: CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB.
Index: complex.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/complex.cxx,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- complex.cxx 19 Oct 2006 18:45:41 -0000 1.89
+++ complex.cxx 22 Oct 2006 15:57:11 -0000 1.90
@@ -8,7 +8,7 @@
extern "C" {
#include "testConly.h"
}
-#ifdef CMAKE_TEST_CMAKELIB
+#ifdef COMPLEX_TEST_CMAKELIB
#include "cmStandardIncludes.h"
#include "cmSystemTools.h"
#include "cmDynamicLoader.h"
@@ -64,7 +64,7 @@
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
#endif
-#ifdef CMAKE_TEST_CMAKELIB
+#ifdef COMPLEX_TEST_CMAKELIB
// 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....
@@ -327,7 +327,7 @@
#endif
std::string exe = lib;
-#ifdef CMAKE_TEST_CMAKELIB
+#ifdef COMPLEX_TEST_CMAKELIB
// Test a single character executable to test a: in makefiles
exe += "A";
exe += cmSystemTools::GetExecutableExtension();
@@ -1059,7 +1059,7 @@
}
#endif
-#ifdef CMAKE_TEST_CMAKELIB
+#ifdef COMPLEX_TEST_CMAKELIB
// ----------------------------------------------------------------------
// Some pre-build/pre-link/post-build custom-commands have been
// attached to the lib (see Library/).
@@ -1257,7 +1257,7 @@
cmPassed("CMake SET CACHE FORCE");
#endif
-#ifdef CMAKE_TEST_CMAKELIB
+#ifdef COMPLEX_TEST_CMAKELIB
// first run with shouldFail = true, this will
// run with A B C as set by the CMakeList.txt file.
if(!TestLibraryOrder(true))
More information about the Cmake-commits
mailing list