summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2015-08-11 15:19:03 -0400
committerBrad King <brad.king@kitware.com>2015-08-12 13:43:00 -0400
commitd25819bc2623b5144ffc57b694500993ac5759b4 (patch)
tree89116aa3d941ae23e5cb53a0c85dc255abd5ee0d /Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
parente36a05fd7f7d008c4c1e75ebf46eac3072ef71b1 (diff)
downloadcmake-d25819bc2623b5144ffc57b694500993ac5759b4.tar.gz
Add generator expression support to OUTPUT_DIRECTORY target properties
If {ARCHIVE,LIBRARY,RUNTIME}_OUTPUT_DIRECTORY is set with a genex then do not add the per-config subdirectory on multi-config generators. This will allow projects to use $<CONFIG> to place the per-config part of the directory path somewhere other than the end.
Diffstat (limited to 'Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt')
-rw-r--r--Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt b/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
index 0b3d31c292..3ae54484a7 100644
--- a/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
+++ b/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
@@ -1,8 +1,11 @@
Output directory in which to build |XXX| target files.
This property specifies the directory into which |xxx| target files
-should be built. Multi-configuration generators (VS, Xcode) append a
-per-configuration subdirectory to the specified directory.
+should be built. The property value may use
+:manual:`generator expressions <cmake-generator-expressions(7)>`.
+Multi-configuration generators (VS, Xcode) append a per-configuration
+subdirectory to the specified directory unless a generator expression
+is used.
This property is initialized by the value of the variable
|CMAKE_XXX_OUTPUT_DIRECTORY| if it is set when a target is created.