summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-28 20:12:12 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-28 20:12:12 (GMT)
commit64b6c0b950666cb1f5d8f6b219ec7a94e9e38f4a (patch)
treed456ad6eaaec354d808566ad383c7545d9d54f34 /Source/cmTarget.cxx
parent9275e1f1d25049e5104664194d93021ef0f7e4e3 (diff)
downloadCMake-64b6c0b950666cb1f5d8f6b219ec7a94e9e38f4a.zip
CMake-64b6c0b950666cb1f5d8f6b219ec7a94e9e38f4a.tar.gz
CMake-64b6c0b950666cb1f5d8f6b219ec7a94e9e38f4a.tar.bz2
ENH: Document PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE target properties and corresponding arguments to INSTALL(TARGETS).
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx30
1 files changed, 30 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 5e37ced..a6bf5d2 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -358,6 +358,36 @@ void cmTarget::DefineProperties(cmake *cm)
"INSTALL command instead.");
cm->DefineProperty
+ ("PRIVATE_HEADER", cmProperty::TARGET,
+ "Specify private header files in a FRAMEWORK shared library target.",
+ "Shared library targets marked with the FRAMEWORK property generate "
+ "frameworks on OS X and normal shared libraries on other platforms. "
+ "This property may be set to a list of header files to be placed "
+ "in the PrivateHeaders directory inside the framework folder. "
+ "On non-Apple platforms these headers may be installed using the "
+ "PRIVATE_HEADER option to the install(TARGETS) command.");
+
+ cm->DefineProperty
+ ("PUBLIC_HEADER", cmProperty::TARGET,
+ "Specify public header files in a FRAMEWORK shared library target.",
+ "Shared library targets marked with the FRAMEWORK property generate "
+ "frameworks on OS X and normal shared libraries on other platforms. "
+ "This property may be set to a list of header files to be placed "
+ "in the Headers directory inside the framework folder. "
+ "On non-Apple platforms these headers may be installed using the "
+ "PUBLIC_HEADER option to the install(TARGETS) command.");
+
+ cm->DefineProperty
+ ("RESOURCE", cmProperty::TARGET,
+ "Specify resource files in a FRAMEWORK shared library target.",
+ "Shared library targets marked with the FRAMEWORK property generate "
+ "frameworks on OS X and normal shared libraries on other platforms. "
+ "This property may be set to a list of files to be placed "
+ "in the Resources directory inside the framework folder. "
+ "On non-Apple platforms these files may be installed using the "
+ "RESOURCE option to the install(TARGETS) command.");
+
+ cm->DefineProperty
("SKIP_BUILD_RPATH", cmProperty::TARGET,
"Should rpaths be used for the build tree.",
"SKIP_BUILD_RPATH is a boolean specifying whether to skip automatic "