summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-14 18:36:23 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-14 18:36:23 (GMT)
commitb459ec9f57c8b0f8a03665f50a4ac3ded02b12da (patch)
treea6b58c8ab1cc6ecd8ccab4d7b585ea1f5649c1db /Tests/Complex
parent5b02a4a864d2e68c683be6275709ce3e38d51fee (diff)
downloadCMake-b459ec9f57c8b0f8a03665f50a4ac3ded02b12da.zip
CMake-b459ec9f57c8b0f8a03665f50a4ac3ded02b12da.tar.gz
CMake-b459ec9f57c8b0f8a03665f50a4ac3ded02b12da.tar.bz2
ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures.
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Library/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt
index 495ceb8..0fae1ec 100644
--- a/Tests/Complex/Library/CMakeLists.txt
+++ b/Tests/Complex/Library/CMakeLists.txt
@@ -46,8 +46,11 @@ ADD_LIBRARY(CMakeTestLibraryShared SHARED ${SharedLibrarySources})
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)
+DEFINE_PROPERTY(
+ TARGET PROPERTY FOO
+ BRIEF_DOCS "a test property"
+ FULL_DOCS "A simple etst proerty that means nothign and is used for nothing"
+ )
SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES FOO BAR)
IF(NOT BEOS) # No libm on BeOS.
SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES LINK_FLAGS "-lm")