diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 20:19:57 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-17 15:30:38 (GMT) |
commit | 3e8ef6427393546c77da1b74234311d3b60edd98 (patch) | |
tree | dc1463cfd39c1eac2d292700794ac2a32fe54f2b /Source/cmLocalVisualStudio7Generator.cxx | |
parent | cfb2f7508af637c9c35758fbd5dac6c8cb679bdb (diff) | |
download | CMake-3e8ef6427393546c77da1b74234311d3b60edd98.zip CMake-3e8ef6427393546c77da1b74234311d3b60edd98.tar.gz CMake-3e8ef6427393546c77da1b74234311d3b60edd98.tar.bz2 |
cmLocalGenerator: Port some API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 6d02bfa..485ac31 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -733,7 +733,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, } // Add the target-specific flags. - this->AddCompileOptions(flags, &target, linkLanguage, configName); + this->AddCompileOptions(flags, gt, linkLanguage, configName); } if(this->FortranProject) @@ -1152,7 +1152,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout, } } std::string libflags; - this->GetStaticLibraryFlags(libflags, configTypeUpper, &target); + this->GetStaticLibraryFlags(libflags, configTypeUpper, gt); if(!libflags.empty()) { fout << "\t\t\t\tAdditionalOptions=\"" << libflags << "\"\n"; |