summaryrefslogtreecommitdiffstats
path: root/Source/cmAddExecutableCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-08-06 13:07:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-08-06 13:07:21 (GMT)
commit87e0e6e497b76f4ab7292cca34bd7c006832723b (patch)
treeaca65d62aec61aae5e3394808d6c0cd264f3376f /Source/cmAddExecutableCommand.h
parent0174133dfd1f46662bb517677d3bf0a765b11e3e (diff)
parent370bf554151a1b272baf62a0ce9823cf9995116e (diff)
downloadCMake-87e0e6e497b76f4ab7292cca34bd7c006832723b.zip
CMake-87e0e6e497b76f4ab7292cca34bd7c006832723b.tar.gz
CMake-87e0e6e497b76f4ab7292cca34bd7c006832723b.tar.bz2
Merge topic 'ALIAS-targets'
370bf55 Add the ALIAS target concept for libraries and executables.
Diffstat (limited to 'Source/cmAddExecutableCommand.h')
-rw-r--r--Source/cmAddExecutableCommand.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h
index 1e9f9b3..2774ce8 100644
--- a/Source/cmAddExecutableCommand.h
+++ b/Source/cmAddExecutableCommand.h
@@ -107,6 +107,19 @@ public:
"(and its per-configuration version IMPORTED_LOCATION_<CONFIG>) "
"which specifies the location of the main executable file on disk. "
"See documentation of the IMPORTED_* properties for more information."
+ "\n"
+ "The signature\n"
+ " add_executable(<name> ALIAS <target>)\n"
+ "creates an alias, such that <name> can be used to refer to <target> "
+ "in subsequent commands. The <name> does not appear in the generated "
+ "buildsystem as a make target. The <target> may not be an IMPORTED "
+ "target or an ALIAS. Alias targets can be used as linkable targets, "
+ "targets to read properties from, executables for custom commands and "
+ "custom targets. They can also be tested for existance with the "
+ "regular if(TARGET) subcommand. The <name> may not be used to modify "
+ "properties of <target>, that is, it may not be used as the operand of "
+ "set_property, set_target_properties, target_link_libraries etc. An "
+ "ALIAS target may not be installed of exported."
;
}