[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.2 1.3 imp_testExe1.c 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Jul 11 10:10:53 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/ExportImport/Import/A
In directory public:/mounts/ram/cvs-serv18572/Tests/ExportImport/Import/A
Modified Files:
CMakeLists.txt imp_testExe1.c
Log Message:
ENH: Test export/import of link interface languages
This extends the ExportImport test. The Export project creates a C++
static library and exports it. Then the Import project links the
library into a C executable. On most platforms the executable will link
only if the C++ linker is chosen correctly.
Index: imp_testExe1.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Import/A/imp_testExe1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** imp_testExe1.c 8 Apr 2009 20:29:04 -0000 1.2
--- imp_testExe1.c 11 Jul 2009 14:10:51 -0000 1.3
***************
*** 6,9 ****
--- 6,10 ----
extern int testLib4lib();
extern int testLib5();
+ extern int testLib6();
/* Switch a symbol between debug and optimized builds to make sure the
***************
*** 19,23 ****
{
return (testLib2() + generated_by_testExe1() + testLib3() + testLib4()
! + testLib5()
+ generated_by_testExe3() + testLib4lib() + testLib4libcfg());
}
--- 20,24 ----
{
return (testLib2() + generated_by_testExe1() + testLib3() + testLib4()
! + testLib5() + testLib6()
+ generated_by_testExe3() + testLib4lib() + testLib4libcfg());
}
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Import/A/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** CMakeLists.txt 8 Apr 2009 20:29:04 -0000 1.2
--- CMakeLists.txt 11 Jul 2009 14:10:51 -0000 1.3
***************
*** 29,32 ****
--- 29,33 ----
exp_testLib4
exp_testLib5
+ exp_testLib6
)
***************
*** 59,62 ****
--- 60,64 ----
bld_testLib4
bld_testLib5
+ bld_testLib6
)
More information about the Cmake-commits
mailing list