diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:40:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:33 (GMT) |
commit | c3833c7da40ccb03fc80bf10f37b77398d7123f8 (patch) | |
tree | c2ab4fd15ec826a258303f7a4852ef6fe285a664 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | d76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1 (diff) | |
download | CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.zip CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.gz CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.bz2 |
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 786791c..280320f 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(); |