diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 15:40:05 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 13:05:33 -0500 |
commit | c3833c7da40ccb03fc80bf10f37b77398d7123f8 (patch) | |
tree | c2ab4fd15ec826a258303f7a4852ef6fe285a664 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | d76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1 (diff) | |
download | cmake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.gz |
stringapi: Use strings for VS project names
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 786791cb7d..280320ffb5 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -228,7 +228,7 @@ void cmLocalVisualStudio7Generator::WriteStampFiles() //---------------------------------------------------------------------------- void cmLocalVisualStudio7Generator -::CreateSingleVCProj(const char *lname, cmTarget &target) +::CreateSingleVCProj(const std::string& lname, cmTarget &target) { this->FortranProject = static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator) @@ -245,8 +245,7 @@ void cmLocalVisualStudio7Generator } // add to the list of projects - std::string pname = lname; - target.SetProperty("GENERATOR_FILE_NAME",lname); + target.SetProperty("GENERATOR_FILE_NAME",lname.c_str()); // create the dsp.cmake file std::string fname; fname = this->Makefile->GetStartOutputDirectory(); |