diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-03-14 11:29:15 -0500 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-03-14 11:29:15 -0500 |
commit | 791aa6052b9033e89645b324b1c99222936981df (patch) | |
tree | fdd95f48321d8074e4c97eaba0b03da3e885d409 /Source/cmGlobalVisualStudio6Generator.cxx | |
parent | f7c024df2a2ae6b8cf5ba127ee764a55f81f06e6 (diff) | |
download | cmake-791aa6052b9033e89645b324b1c99222936981df.tar.gz |
ENH: add support for out of source source
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index 450bc5701d..aec0eefe8f 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -210,7 +210,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout, this->WriteDSWHeader(fout); // Get the home directory with the trailing slash - std::string homedir = root->GetMakefile()->GetCurrentDirectory(); + std::string homedir = root->GetMakefile()->GetStartOutputDirectory(); homedir += "/"; unsigned int i; @@ -227,7 +227,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout, cmMakefile* mf = generators[i]->GetMakefile(); // Get the source directory from the makefile - std::string dir = mf->GetStartDirectory(); + std::string dir = mf->GetStartOutputDirectory(); // remove the home directory and / from the source directory // this gives a relative path cmSystemTools::ReplaceString(dir, homedir.c_str(), ""); |