COMP: Fixed typo: CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB.
This commit is contained in:
parent
c9aee13038
commit
21a56b7df7
|
@ -8,7 +8,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "testConly.h"
|
#include "testConly.h"
|
||||||
}
|
}
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmDynamicLoader.h"
|
#include "cmDynamicLoader.h"
|
||||||
|
@ -64,7 +64,7 @@ void cmPassed(const char* Message, const char* m2="")
|
||||||
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
|
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// Here is a stupid function that tries to use std::string methods
|
// Here is a stupid function that tries to use std::string methods
|
||||||
// so that the dec cxx compiler will instantiate the stuff that
|
// so that the dec cxx compiler will instantiate the stuff that
|
||||||
// we are using from the CMakeLib library....
|
// we are using from the CMakeLib library....
|
||||||
|
@ -327,7 +327,7 @@ int main()
|
||||||
#endif
|
#endif
|
||||||
std::string exe = lib;
|
std::string exe = lib;
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// Test a single character executable to test a: in makefiles
|
// Test a single character executable to test a: in makefiles
|
||||||
exe += "A";
|
exe += "A";
|
||||||
exe += cmSystemTools::GetExecutableExtension();
|
exe += cmSystemTools::GetExecutableExtension();
|
||||||
|
@ -1059,7 +1059,7 @@ int main()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// Some pre-build/pre-link/post-build custom-commands have been
|
// Some pre-build/pre-link/post-build custom-commands have been
|
||||||
// attached to the lib (see Library/).
|
// attached to the lib (see Library/).
|
||||||
|
@ -1257,7 +1257,7 @@ int main()
|
||||||
cmPassed("CMake SET CACHE FORCE");
|
cmPassed("CMake SET CACHE FORCE");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// first run with shouldFail = true, this will
|
// first run with shouldFail = true, this will
|
||||||
// run with A B C as set by the CMakeList.txt file.
|
// run with A B C as set by the CMakeList.txt file.
|
||||||
if(!TestLibraryOrder(true))
|
if(!TestLibraryOrder(true))
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "testConly.h"
|
#include "testConly.h"
|
||||||
}
|
}
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmDynamicLoader.h"
|
#include "cmDynamicLoader.h"
|
||||||
|
@ -64,7 +64,7 @@ void cmPassed(const char* Message, const char* m2="")
|
||||||
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
|
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// Here is a stupid function that tries to use std::string methods
|
// Here is a stupid function that tries to use std::string methods
|
||||||
// so that the dec cxx compiler will instantiate the stuff that
|
// so that the dec cxx compiler will instantiate the stuff that
|
||||||
// we are using from the CMakeLib library....
|
// we are using from the CMakeLib library....
|
||||||
|
@ -327,7 +327,7 @@ int main()
|
||||||
#endif
|
#endif
|
||||||
std::string exe = lib;
|
std::string exe = lib;
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// Test a single character executable to test a: in makefiles
|
// Test a single character executable to test a: in makefiles
|
||||||
exe += "A";
|
exe += "A";
|
||||||
exe += cmSystemTools::GetExecutableExtension();
|
exe += cmSystemTools::GetExecutableExtension();
|
||||||
|
@ -1059,7 +1059,7 @@ int main()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// Some pre-build/pre-link/post-build custom-commands have been
|
// Some pre-build/pre-link/post-build custom-commands have been
|
||||||
// attached to the lib (see Library/).
|
// attached to the lib (see Library/).
|
||||||
|
@ -1257,7 +1257,7 @@ int main()
|
||||||
cmPassed("CMake SET CACHE FORCE");
|
cmPassed("CMake SET CACHE FORCE");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// first run with shouldFail = true, this will
|
// first run with shouldFail = true, this will
|
||||||
// run with A B C as set by the CMakeList.txt file.
|
// run with A B C as set by the CMakeList.txt file.
|
||||||
if(!TestLibraryOrder(true))
|
if(!TestLibraryOrder(true))
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "testConly.h"
|
#include "testConly.h"
|
||||||
}
|
}
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmDynamicLoader.h"
|
#include "cmDynamicLoader.h"
|
||||||
|
@ -64,7 +64,7 @@ void cmPassed(const char* Message, const char* m2="")
|
||||||
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
|
This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// Here is a stupid function that tries to use std::string methods
|
// Here is a stupid function that tries to use std::string methods
|
||||||
// so that the dec cxx compiler will instantiate the stuff that
|
// so that the dec cxx compiler will instantiate the stuff that
|
||||||
// we are using from the CMakeLib library....
|
// we are using from the CMakeLib library....
|
||||||
|
@ -327,7 +327,7 @@ int main()
|
||||||
#endif
|
#endif
|
||||||
std::string exe = lib;
|
std::string exe = lib;
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// Test a single character executable to test a: in makefiles
|
// Test a single character executable to test a: in makefiles
|
||||||
exe += "A";
|
exe += "A";
|
||||||
exe += cmSystemTools::GetExecutableExtension();
|
exe += cmSystemTools::GetExecutableExtension();
|
||||||
|
@ -1059,7 +1059,7 @@ int main()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// Some pre-build/pre-link/post-build custom-commands have been
|
// Some pre-build/pre-link/post-build custom-commands have been
|
||||||
// attached to the lib (see Library/).
|
// attached to the lib (see Library/).
|
||||||
|
@ -1257,7 +1257,7 @@ int main()
|
||||||
cmPassed("CMake SET CACHE FORCE");
|
cmPassed("CMake SET CACHE FORCE");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CMAKE_TEST_CMAKELIB
|
#ifdef COMPLEX_TEST_CMAKELIB
|
||||||
// first run with shouldFail = true, this will
|
// first run with shouldFail = true, this will
|
||||||
// run with A B C as set by the CMakeList.txt file.
|
// run with A B C as set by the CMakeList.txt file.
|
||||||
if(!TestLibraryOrder(true))
|
if(!TestLibraryOrder(true))
|
||||||
|
|
Loading…
Reference in New Issue