summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-17 16:08:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-17 16:09:20 (GMT)
commit64e2891cbddcfa491b9158e479db16114aeabc33 (patch)
treebe5274274d66e083fe265e50380e36037e2a8e26 /Source/cmVisualStudio10TargetGenerator.cxx
parent7d69ab02adcad7baf72facd2c29ef232d230ce01 (diff)
parentc34b4497f8d595390d8e5a9d216de9ddc95a47eb (diff)
downloadCMake-64e2891cbddcfa491b9158e479db16114aeabc33.zip
CMake-64e2891cbddcfa491b9158e479db16114aeabc33.tar.gz
CMake-64e2891cbddcfa491b9158e479db16114aeabc33.tar.bz2
Merge topic 'stdstring-target'
c34b4497f8 cmTarget: add std::string overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4137
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 66cf683..027bcdc 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -334,9 +334,9 @@ void cmVisualStudio10TargetGenerator::Generate()
}
// Tell the global generator the name of the project file
this->GeneratorTarget->Target->SetProperty("GENERATOR_FILE_NAME",
- this->Name.c_str());
+ this->Name);
this->GeneratorTarget->Target->SetProperty("GENERATOR_FILE_NAME_EXT",
- ProjectFileExtension.c_str());
+ ProjectFileExtension);
this->DotNetHintReferences.clear();
this->AdditionalUsingDirectories.clear();
if (this->GeneratorTarget->GetType() <= cmStateEnums::OBJECT_LIBRARY) {