diff options
author | Brad King <brad.king@kitware.com> | 2019-07-12 15:22:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-12 21:29:40 (GMT) |
commit | 22d3eb5d5e4ce9c6371ab709655928552453fbda (patch) | |
tree | ca27b28cfa41f5aa453e390743cfe8e2ec04138b /Source/cmGeneratorTarget.h | |
parent | f9e0cf64176628d07871741da2c6f585f52c4e39 (diff) | |
download | CMake-22d3eb5d5e4ce9c6371ab709655928552453fbda.zip CMake-22d3eb5d5e4ce9c6371ab709655928552453fbda.tar.gz CMake-22d3eb5d5e4ce9c6371ab709655928552453fbda.tar.bz2 |
Refactor checks for whether a target has an import library
Use `HasImportLibrary` for such checks.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 627a055..852f8fd 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -743,9 +743,13 @@ private: mutable std::map<std::string, bool> DebugCompatiblePropertiesDone; - const char* GetFilePrefixInternal(cmStateEnums::ArtifactType artifact, + bool NeedImportLibraryName(std::string const& config) const; + + const char* GetFilePrefixInternal(std::string const& config, + cmStateEnums::ArtifactType artifact, const std::string& language = "") const; - const char* GetFileSuffixInternal(cmStateEnums::ArtifactType artifact, + const char* GetFileSuffixInternal(std::string const& config, + cmStateEnums::ArtifactType artifact, const std::string& language = "") const; std::string GetFullNameInternal(const std::string& config, |