summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-10 13:51:15 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-10 13:51:15 (GMT)
commitb604b98c5690c49109ad464190c1b8a7562410b0 (patch)
treed477ac9d52d7328848deb4e460628deb775a29fd /Source/cmTarget.cxx
parentc895d9f2e0dac609a8e3e126cc05a0400e9740a9 (diff)
downloadCMake-b604b98c5690c49109ad464190c1b8a7562410b0.zip
CMake-b604b98c5690c49109ad464190c1b8a7562410b0.tar.gz
CMake-b604b98c5690c49109ad464190c1b8a7562410b0.tar.bz2
ENH: Define RULE_LAUNCH_* properties
This defines global, directory, and target properties RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM. Their values specify 'launcher' command lines which are prefixed to compile, link, and custom build rules by Makefile generators.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index f07d143..5bd141d 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -523,6 +523,25 @@ void cmTarget::DefineProperties(cmake *cm)
"RESOURCE option to the install(TARGETS) command.");
cm->DefineProperty
+ ("RULE_LAUNCH_COMPILE", cmProperty::TARGET,
+ "Specify a launcher for compile rules.",
+ "See the global property of the same name for details. "
+ "This overrides the global and directory property for a target.",
+ true);
+ cm->DefineProperty
+ ("RULE_LAUNCH_LINK", cmProperty::TARGET,
+ "Specify a launcher for link rules.",
+ "See the global property of the same name for details. "
+ "This overrides the global and directory property for a target.",
+ true);
+ cm->DefineProperty
+ ("RULE_LAUNCH_CUSTOM", cmProperty::TARGET,
+ "Specify a launcher for custom rules.",
+ "See the global property of the same name for details. "
+ "This overrides the global and directory property for a target.",
+ true);
+
+ 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 "