Add support of "LINKER:" prefix for artifact creation flags

The following variables now support the LINKER: prefix:
    * CMAKE_SHARED_LIBRARY_CREATE_<LANG>_FLAGS
    * CMAKE_SHARED_MODULE_CREATE_<LANG>_FLAGS
    * CMAKE_<LANG>_LINK_FLAGS
This commit is contained in:
Marc Chevrier
2024-10-12 17:40:08 +02:00
parent 2bd4c06c26
commit 8bcf9c7a3e
29 changed files with 191 additions and 20 deletions

View File

@@ -304,6 +304,7 @@ private:
std::string LookupFlags(const std::string& varNamePrefix,
const std::string& varNameLang,
const std::string& varNameSuffix,
cmGeneratorTarget const* gt,
const std::string& default_flags);
class Factory;