summaryrefslogtreecommitdiffstats
path: root/Source/cmGetTargetPropertyCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-29 20:42:58 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-29 20:42:58 (GMT)
commitfdcc888c56d7c15a43eab8a2335356326e4d0e10 (patch)
tree243660049a66018deb8255c1b697a2ae9a65d022 /Source/cmGetTargetPropertyCommand.h
parent21f3a18bee33ca8ea657cd2762e4366b82ff1a4e (diff)
downloadCMake-fdcc888c56d7c15a43eab8a2335356326e4d0e10.zip
CMake-fdcc888c56d7c15a43eab8a2335356326e4d0e10.tar.gz
CMake-fdcc888c56d7c15a43eab8a2335356326e4d0e10.tar.bz2
ENH: Added support for getting a target's location on a per-configuration basis (ex. DEBUG_LOCATION). This does not fix but helps with bug#3250.
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.h')
-rw-r--r--Source/cmGetTargetPropertyCommand.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/cmGetTargetPropertyCommand.h b/Source/cmGetTargetPropertyCommand.h
index 06a2d17..fd89115 100644
--- a/Source/cmGetTargetPropertyCommand.h
+++ b/Source/cmGetTargetPropertyCommand.h
@@ -58,10 +58,17 @@ public:
"will be set to \"NOTFOUND\". Use SET_TARGET_PROPERTIES to set "
"property values. Properties are usually used to control how "
"a target is built.\n"
+ "The read-only property \"<CONFIG>_LOCATION\" provides the full "
+ "path to the file on disk that will be created for the target when "
+ "building under configuration <CONFIG> "
+ "(in upper-case, such as \"DEBUG_LOCATION\"). "
"The read-only property \"LOCATION\" specifies "
"the full path to the file on disk that will be created for the "
- "target. This is very useful for executable targets to get "
- "the path to the executable file for use in a custom command. "
+ "target. The path may contain a build-system-specific portion that "
+ "is replaced at build time with the configuration getting built "
+ "(such as \"$(ConfigurationName)\" in VS). "
+ "This is very useful for executable targets to get "
+ "the path to the executable file for use in a custom command.\n"
"The read-only property \"TYPE\" returns which type the specified "
"target has (EXECUTABLE, STATIC_LIBRARY, SHARED_LIBRARY, "
"MODULE_LIBRARY, UTILITY, INSTALL_FILES or INSTALL_PROGRAMS). "