diff options
author | Brad King <brad.king@kitware.com> | 2009-05-01 14:38:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-05-01 14:38:35 (GMT) |
commit | 430cc2b4b7a817be2fbc445d6803163f1695a533 (patch) | |
tree | f41fc7fbf2fb1671bb0fa3b9e36bc6ecc5403957 /Source/cmTarget.h | |
parent | 2740db5eded92d61ae38e69d67a4e4179ae5d20e (diff) | |
download | CMake-430cc2b4b7a817be2fbc445d6803163f1695a533.zip CMake-430cc2b4b7a817be2fbc445d6803163f1695a533.tar.gz CMake-430cc2b4b7a817be2fbc445d6803163f1695a533.tar.bz2 |
ENH: Always imply CLEAN_DIRECT_OUTPUT target prop
This property was left from before CMake always linked using full path
library names for targets it builds. In order to safely link with
"-lfoo" we needed to avoid having both shared and static libraries in
the build tree for targets that switch on BUILD_SHARED_LIBS. This meant
cleaning both shared and static names before creating the library, which
led to the creation of CLEAN_DIRECT_OUTPUT to disable the behavior.
Now that we always link with a full path we do not need to clean old
library names left from an alternate setting of BUILD_SHARED_LIBS. This
change removes the CLEAN_DIRECT_OUTPUT property and instead uses its
behavior always. It removes some complexity from cmTarget internally.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index e1caaef..e89add1 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -326,18 +326,6 @@ public: std::string& realName, std::string& impName, std::string& pdbName, const char* config); - /** Get the names of the library used to remove existing copies of - the library from the build tree either before linking or during - a clean step. This should be called only on a library - target. */ - void GetLibraryCleanNames(std::string& staticName, - std::string& sharedName, - std::string& sharedSOName, - std::string& sharedRealName, - std::string& importName, - std::string& pdbName, - const char* config); - /** Get the names of the executable needed to generate a build rule that takes into account executable version numbers. This should be called only on an executable target. */ |