[cmake-commits] king committed complex.cxx 1.90 1.91

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 12 09:23:08 EST 2007


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

Modified Files:
	complex.cxx 
Log Message:
ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY.  This is an incremental fix for bug#2240 and bug#4210.


Index: complex.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/complex.cxx,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- complex.cxx	22 Oct 2006 15:57:11 -0000	1.90
+++ complex.cxx	12 Mar 2007 14:23:05 -0000	1.91
@@ -320,12 +320,17 @@
 int main()
 {
   std::string lib = BINARY_DIR;
-  lib += "/bin/";
+  lib += "/lib/";
 #ifdef  CMAKE_INTDIR
   lib += CMAKE_INTDIR;
   lib += "/";
 #endif
-  std::string exe = lib;
+  std::string exe = BINARY_DIR;
+  exe += "/bin/";
+#ifdef  CMAKE_INTDIR
+  exe += CMAKE_INTDIR;
+  exe += "/";
+#endif
 
 #ifdef COMPLEX_TEST_CMAKELIB  
   // Test a single character executable to test a: in makefiles



More information about the Cmake-commits mailing list