summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 20:19:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-17 15:30:38 (GMT)
commit3e8ef6427393546c77da1b74234311d3b60edd98 (patch)
treedc1463cfd39c1eac2d292700794ac2a32fe54f2b /Source/cmVisualStudio10TargetGenerator.cxx
parentcfb2f7508af637c9c35758fbd5dac6c8cb679bdb (diff)
downloadCMake-3e8ef6427393546c77da1b74234311d3b60edd98.zip
CMake-3e8ef6427393546c77da1b74234311d3b60edd98.tar.gz
CMake-3e8ef6427393546c77da1b74234311d3b60edd98.tar.bz2
cmLocalGenerator: Port some API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index f0344bb..2cbd306 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1932,7 +1932,7 @@ bool cmVisualStudio10TargetGenerator::ComputeClOptions(
{
clOptions.AddFlag("CompileAs", "CompileAsCpp");
}
- this->LocalGenerator->AddCompileOptions(flags, this->Target,
+ this->LocalGenerator->AddCompileOptions(flags, this->GeneratorTarget,
linkLanguage, configName.c_str());
// Get preprocessor definitions for this directory.
@@ -2189,7 +2189,7 @@ cmVisualStudio10TargetGenerator::WriteLibOptions(std::string const& config)
}
std::string libflags;
this->LocalGenerator->GetStaticLibraryFlags(libflags,
- cmSystemTools::UpperCase(config), this->Target);
+ cmSystemTools::UpperCase(config), this->GeneratorTarget);
if(!libflags.empty())
{
this->WriteString("<Lib>\n", 2);