[cmake-commits] martink committed CMakeLists.txt 1.39 1.40
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Dec 7 09:44:48 EST 2006
Update of /cvsroot/CMake/CMake/Tests/Complex/Library
In directory public:/mounts/ram/cvs-serv17137/Tests/Complex/Library
Modified Files:
CMakeLists.txt
Log Message:
ENH: make properties a bit more formal with documentation and chaining
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Library/CMakeLists.txt,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- CMakeLists.txt 4 Dec 2006 22:26:40 -0000 1.39
+++ CMakeLists.txt 7 Dec 2006 14:44:46 -0000 1.40
@@ -45,6 +45,8 @@
ADD_LIBRARY(CMakeTestModule MODULE moduleFile.c)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS")
ADD_LIBRARY(CMakeTestCLibraryShared SHARED testConly.c)
+DEFINE_PROPERTY(FOO TARGET "a test property"
+ "A simple etst proerty that means nothign and is used for nothing" 0)
SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES FOO BAR)
IF(NOT BEOS) # No libm on BeOS.
SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES LINK_FLAGS "-lm")
More information about the Cmake-commits
mailing list