diff options
author | Brad King <brad.king@kitware.com> | 2009-02-10 13:51:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-10 13:51:15 (GMT) |
commit | b604b98c5690c49109ad464190c1b8a7562410b0 (patch) | |
tree | d477ac9d52d7328848deb4e460628deb775a29fd /Source/cmake.cxx | |
parent | c895d9f2e0dac609a8e3e126cc05a0400e9740a9 (diff) | |
download | CMake-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/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index eda91a3..1df573e 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3444,6 +3444,31 @@ void cmake::DefineProperties(cmake *cm) "enabled languages", "Set to list of currently enabled lanauges."); + cm->DefineProperty + ("RULE_LAUNCH_COMPILE", cmProperty::GLOBAL, + "Specify a launcher for compile rules.", + "Makefile generators prefix compiler commands with the given " + "launcher command line. " + "This is intended to allow launchers to intercept build problems " + "with high granularity. " + "Non-Makefile generators currently ignore this property."); + cm->DefineProperty + ("RULE_LAUNCH_LINK", cmProperty::GLOBAL, + "Specify a launcher for link rules.", + "Makefile generators prefix link and archive commands with the given " + "launcher command line. " + "This is intended to allow launchers to intercept build problems " + "with high granularity. " + "Non-Makefile generators currently ignore this property."); + cm->DefineProperty + ("RULE_LAUNCH_CUSTOM", cmProperty::GLOBAL, + "Specify a launcher for custom rules.", + "Makefile generators prefix custom commands with the given " + "launcher command line. " + "This is intended to allow launchers to intercept build problems " + "with high granularity. " + "Non-Makefile generators currently ignore this property."); + // ================================================================ // define variables as well // ================================================================ |