[cmake-commits] king committed CMakeLists.txt 1.1 1.2 imp_testExe1.c 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jan 28 13:06:19 EST 2008


Update of /cvsroot/CMake/CMake/Tests/ExportImport/Import
In directory public:/mounts/ram/cvs-serv7268/Tests/ExportImport/Import

Modified Files:
	CMakeLists.txt imp_testExe1.c 
Log Message:
ENH: Added framework to ExportImport test.


Index: imp_testExe1.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Import/imp_testExe1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- imp_testExe1.c	28 Jan 2008 13:40:21 -0000	1.1
+++ imp_testExe1.c	28 Jan 2008 18:06:17 -0000	1.2
@@ -1,8 +1,9 @@
 extern int generated_by_testExe1();
 extern int testLib2();
 extern int testLib3();
+extern int testLib4();
 
 int main()
 {
-  return testLib2() + generated_by_testExe1() + testLib3();
+  return testLib2() + generated_by_testExe1() + testLib3() + testLib4();
 }

Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Import/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeLists.txt	28 Jan 2008 13:40:21 -0000	1.1
+++ CMakeLists.txt	28 Jan 2008 18:06:17 -0000	1.2
@@ -24,7 +24,7 @@
   )
 
 # Try linking to a library imported from the install tree.
-target_link_libraries(imp_testExe1 exp_testLib2 exp_testLib3)
+target_link_libraries(imp_testExe1 exp_testLib2 exp_testLib3 exp_testLib4)
 
 # Try building a plugin to an executable imported from the install tree.
 add_library(imp_mod1 MODULE imp_mod1.c)
@@ -43,7 +43,7 @@
   )
 
 # Try linking to a library imported from the build tree.
-target_link_libraries(imp_testExe1b bld_testLib2 bld_testLib3)
+target_link_libraries(imp_testExe1b bld_testLib2 bld_testLib3 bld_testLib4)
 
 # Try building a plugin to an executable imported from the build tree.
 add_library(imp_mod1b MODULE imp_mod1.c)



More information about the Cmake-commits mailing list