diff options
author | Brad King <brad.king@kitware.com> | 2008-02-14 13:36:23 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-14 13:36:23 -0500 |
commit | b459ec9f57c8b0f8a03665f50a4ac3ded02b12da (patch) | |
tree | a6b58c8ab1cc6ecd8ccab4d7b585ea1f5649c1db /Tests/ComplexRelativePaths/Library | |
parent | 5b02a4a864d2e68c683be6275709ce3e38d51fee (diff) | |
download | cmake-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/ComplexRelativePaths/Library')
-rw-r--r-- | Tests/ComplexRelativePaths/Library/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/ComplexRelativePaths/Library/CMakeLists.txt b/Tests/ComplexRelativePaths/Library/CMakeLists.txt index 495ceb8fe2..0fae1ec1e0 100644 --- a/Tests/ComplexRelativePaths/Library/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/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") |