diff options
author | Brad King <brad.king@kitware.com> | 2010-05-28 14:45:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-05-28 15:09:10 (GMT) |
commit | fe971d97cae4df94d3643c5203b79336cfd31e05 (patch) | |
tree | 2eac2264fe3b44bd915535ba081c2e119999818b /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | d3303dbc8130988be63b9dda913eb9af9770edeb (diff) | |
download | CMake-fe971d97cae4df94d3643c5203b79336cfd31e05.zip CMake-fe971d97cae4df94d3643c5203b79336cfd31e05.tar.gz CMake-fe971d97cae4df94d3643c5203b79336cfd31e05.tar.bz2 |
Add STATIC_LIBRARY_FLAGS_<CONFIG> property (#10768)
This is a per-configuration version of STATIC_LIBRARY_FLAGS.
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index d3e6e11..dff91fe 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -122,6 +122,10 @@ void cmMakefileLibraryTargetGenerator::WriteStaticLibraryRules() std::string extraFlags; this->LocalGenerator->AppendFlags (extraFlags,this->Target->GetProperty("STATIC_LIBRARY_FLAGS")); + std::string staticLibraryFlagsConfig = "STATIC_LIBRARY_FLAGS_"; + staticLibraryFlagsConfig += cmSystemTools::UpperCase(this->ConfigName); + this->LocalGenerator->AppendFlags + (extraFlags, this->Target->GetProperty(staticLibraryFlagsConfig.c_str())); this->WriteLibraryRules(linkRuleVar.c_str(), extraFlags.c_str(), false); } |