[cmake-commits] king committed complex.cxx 1.94 1.95
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jan 17 20:34:12 EST 2008
Update of /cvsroot/CMake/CMake/Tests/Complex/Executable
In directory public:/mounts/ram/cvs-serv10090/Tests/Complex/Executable
Modified Files:
complex.cxx
Log Message:
ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property initialized from parent.
Index: complex.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/complex.cxx,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- complex.cxx 21 Aug 2007 16:31:32 -0000 1.94
+++ complex.cxx 18 Jan 2008 01:34:10 -0000 1.95
@@ -61,7 +61,11 @@
#endif
#ifndef CMAKE_IS_REALLY_FUN
-This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
+# error This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work
+#endif
+
+#if defined(NDEBUG) && !defined(CMAKE_IS_FUN_IN_RELEASE_MODE)
+# error Per-configuration directory-level definition not inherited.
#endif
#ifdef COMPLEX_TEST_CMAKELIB
More information about the Cmake-commits
mailing list