diff options
author | Brad King <brad.king@kitware.com> | 2009-05-01 13:45:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-05-01 13:45:43 (GMT) |
commit | 2740db5eded92d61ae38e69d67a4e4179ae5d20e (patch) | |
tree | 0bc79f92f7f492ad3215a0a28c182fa7a9faeebc /Source/cmTarget.h | |
parent | 617eb981d4184b30987c5c666d9631735148d59d (diff) | |
download | CMake-2740db5eded92d61ae38e69d67a4e4179ae5d20e.zip CMake-2740db5eded92d61ae38e69d67a4e4179ae5d20e.tar.gz CMake-2740db5eded92d61ae38e69d67a4e4179ae5d20e.tar.bz2 |
ENH: Allow more specification of target file names
This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME,
and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties
ARCHIVE_OUTPUT_NAME_<CONFIG>, LIBRARY_OUTPUT_NAME_<CONFIG>, and
RUNTIME_OUTPUT_NAME_<CONFIG>. They allow specification of target output
file names on a per-type, per-configuration basis. For example, a .dll
and its .lib import library may have different base names.
For consistency and to avoid ambiguity, the old <CONFIG>_OUTPUT_NAME
property is now also available as OUTPUT_NAME_<CONFIG>.
See issue #8920.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 4bee06f..e1caaef 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -501,6 +501,9 @@ private: std::string GetOutputDir(bool implib); std::string const& ComputeBaseOutputDir(bool implib); + // Get the target base name. + std::string GetOutputName(const char* config, bool implib); + const char* ImportedGetLocation(const char* config); const char* NormalGetLocation(const char* config); |