[cmake-commits] martink committed complex.cxx 1.86 1.87

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Sep 22 11:49:58 EDT 2006


Update of /cvsroot/CMake/CMake/Tests/Complex/Executable
In directory public:/mounts/ram/cvs-serv3773/Executable

Modified Files:
	complex.cxx 
Log Message:
ENH: added test for elseif


Index: complex.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/complex.cxx,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- complex.cxx	15 Sep 2006 18:31:21 -0000	1.86
+++ complex.cxx	22 Sep 2006 15:49:56 -0000	1.87
@@ -444,6 +444,12 @@
   cmPassed("COMPILE_FLAGS did work with SET_TARGET_PROPERTIES");
 #endif
   
+#ifdef ELSEIF_RESULT
+  cmPassed("ELSEIF did work");
+#else
+  cmFailed("ELSEIF did not work");
+#endif
+
   if(file2() != 1)
     {
     cmFailed("Call to file2 function from library failed.");



More information about the Cmake-commits mailing list