summaryrefslogtreecommitdiff
path: root/Tests/ComplexOneConfig/Library
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-14 13:36:23 -0500
committerBrad King <brad.king@kitware.com>2008-02-14 13:36:23 -0500
commitb459ec9f57c8b0f8a03665f50a4ac3ded02b12da (patch)
treea6b58c8ab1cc6ecd8ccab4d7b585ea1f5649c1db /Tests/ComplexOneConfig/Library
parent5b02a4a864d2e68c683be6275709ce3e38d51fee (diff)
downloadcmake-b459ec9f57c8b0f8a03665f50a4ac3ded02b12da.tar.gz
ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures.
Diffstat (limited to 'Tests/ComplexOneConfig/Library')
-rw-r--r--Tests/ComplexOneConfig/Library/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/ComplexOneConfig/Library/CMakeLists.txt b/Tests/ComplexOneConfig/Library/CMakeLists.txt
index 495ceb8fe2..0fae1ec1e0 100644
--- a/Tests/ComplexOneConfig/Library/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/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")