summaryrefslogtreecommitdiff
path: root/Source/cmSetTargetPropertiesCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-03 09:42:48 -0400
committerBrad King <brad.king@kitware.com>2006-08-03 09:42:48 -0400
commit441d208bb323b49bc7a42036d17fb5eb2a9cba48 (patch)
tree6bd8a4c10987d0c1b5cefe2f71a65fed2adf2160 /Source/cmSetTargetPropertiesCommand.h
parent24b55bfe11db52b37795b241272b0a1511e12bd5 (diff)
downloadcmake-441d208bb323b49bc7a42036d17fb5eb2a9cba48.tar.gz
ENH: Added target property CLEAN_DIRECT_OUTPUT to not clean all forms of a library name so that static and shared libraries of the same name can coexist in a single build directory.
Diffstat (limited to 'Source/cmSetTargetPropertiesCommand.h')
-rw-r--r--Source/cmSetTargetPropertiesCommand.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmSetTargetPropertiesCommand.h b/Source/cmSetTargetPropertiesCommand.h
index a605a77b27..86cb41a0aa 100644
--- a/Source/cmSetTargetPropertiesCommand.h
+++ b/Source/cmSetTargetPropertiesCommand.h
@@ -133,6 +133,13 @@ public:
"the target in an IDE like visual studio. VS_KEYWORD can be set "
"to change the visual studio keyword, for example QT integration "
"works better if this is set to Qt4VSv1.0.\n"
+ "When a library is built CMake by default generates code to remove "
+ "any existing library using all possible names. This is needed "
+ "to support libraries that switch between STATIC and SHARED by "
+ "a user option. However when using OUTPUT_NAME to build a static "
+ "and shared library of the same name using different logical target "
+ "names the two targets will remove each other's files. This can be "
+ "prevented by setting the CLEAN_DIRECT_OUTPUT property to 1.\n"
"The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the "
"old way to specify CMake scripts to run before and after "
"installing a target. They are used only when the old "