summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Executable/complex.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-15 17:59:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-15 17:59:29 (GMT)
commit23a154941bd44ed1fec701e7c8367e32ab19f759 (patch)
tree0a1f58719ce9757824392ccb447ec3af180e2666 /Tests/Complex/Executable/complex.cxx
parent504d0bc3b38574d8394995b589214ce9cb0f6d3a (diff)
downloadCMake-23a154941bd44ed1fec701e7c8367e32ab19f759.zip
CMake-23a154941bd44ed1fec701e7c8367e32ab19f759.tar.gz
CMake-23a154941bd44ed1fec701e7c8367e32ab19f759.tar.bz2
ENH: Add test for REMOVE_DEFINITION
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r--Tests/Complex/Executable/complex.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 067bf66..7ad9997 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -15,6 +15,9 @@ extern "C" {
int cm_passed = 0;
int cm_failed = 0;
+#ifndef CMAKE_IS_REALLY_FUN
+This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
+#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....