[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.1 1.1.2.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Oct 9 16:11:48 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/LinkLanguage
In directory public:/mounts/ram/cvs-serv13963/Tests/LinkLanguage
Modified Files:
Tag: CMake-2-8
CMakeLists.txt
Log Message:
Merge in changes for RC 3
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/LinkLanguage/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C 2 -d -r1.1 -r1.1.2.1
*** CMakeLists.txt 10 Jul 2009 17:53:38 -0000 1.1
--- CMakeLists.txt 9 Oct 2009 20:11:46 -0000 1.1.2.1
***************
*** 4,7 ****
--- 4,12 ----
add_library(foo STATIC foo.cxx)
add_executable(LinkLanguage LinkLanguage.c)
+
+ # Export the target now to compute its link interface and implementation.
+ # This tests that the link info is recomputed after the library is linked.
+ export(TARGETS LinkLanguage FILE LinkLanguageTargets.cmake)
+
target_link_libraries(LinkLanguage foo)
More information about the Cmake-commits
mailing list