summaryrefslogtreecommitdiffstats
path: root/Tests/Properties
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/Properties
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/Properties')
-rw-r--r--Tests/Properties/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/Properties/CMakeLists.txt b/Tests/Properties/CMakeLists.txt
index 9766b46..a889e3e 100644
--- a/Tests/Properties/CMakeLists.txt
+++ b/Tests/Properties/CMakeLists.txt
@@ -22,8 +22,10 @@ include_directories("${Properties_SOURCE_DIR}" "${Properties_BINARY_DIR}")
# test generic property interfaces
-define_property(GLOBALTEST GLOBAL "A test property"
- "A long description of this test property" 0)
+define_property(GLOBAL PROPERTY GLOBALTEST
+ BRIEF_DOCS "A test property"
+ FULL_DOCS "A long description of this test property"
+ )
set_property(GLOBAL PROPERTY GLOBALTEST 1)
set_property(DIRECTORY PROPERTY DIRECTORYTEST 1)
set_property(SOURCE SubDir/properties3.cxx PROPERTY SOURCETEST 1)