summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:40:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:33 (GMT)
commitc3833c7da40ccb03fc80bf10f37b77398d7123f8 (patch)
treec2ab4fd15ec826a258303f7a4852ef6fe285a664 /Source/cmGlobalVisualStudio6Generator.cxx
parentd76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1 (diff)
downloadCMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.zip
CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.gz
CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.bz2
stringapi: Use strings for VS project names
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index 534a493..214b9ea 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -117,7 +117,7 @@ void
cmGlobalVisualStudio6Generator::GenerateBuildCommand(
std::vector<std::string>& makeCommand,
const char* makeProgram,
- const char* projectName,
+ const std::string& projectName,
const char* /*projectDir*/,
const std::string& targetName,
const char* config,
@@ -271,7 +271,7 @@ void cmGlobalVisualStudio6Generator::OutputDSWFile()
// Note, that dependencies from executables to
// the libraries it uses are also done here
void cmGlobalVisualStudio6Generator::WriteProject(std::ostream& fout,
- const char* dspname,
+ const std::string& dspname,
const char* dir,
cmTarget const& target)
{
@@ -316,7 +316,7 @@ void cmGlobalVisualStudio6Generator::WriteProject(std::ostream& fout,
// Note, that dependencies from executables to
// the libraries it uses are also done here
void cmGlobalVisualStudio6Generator::WriteExternalProject(std::ostream& fout,
- const char* name,
+ const std::string& name,
const char* location,
const std::set<cmStdString>& dependencies)
{