summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-07-24 15:27:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-07-24 15:27:07 (GMT)
commit3b743880503248235f319bd3e59e534ea26383f6 (patch)
treeb42684228178a0c8716b032e24b3906a2f17e065 /Source/cmLocalVisualStudio7Generator.cxx
parent53549a6426368f0ff482e7d00ff904bfa0e36ea1 (diff)
downloadCMake-3b743880503248235f319bd3e59e534ea26383f6.zip
CMake-3b743880503248235f319bd3e59e534ea26383f6.tar.gz
CMake-3b743880503248235f319bd3e59e534ea26383f6.tar.bz2
ENH: allow for source tree to be in root directory
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 4466e8d..8e5c598 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -176,6 +176,7 @@ void cmLocalVisualStudio7Generator::AddVCProjBuildRule(cmTarget& tgt)
std::string makefileIn = this->Makefile->GetStartDirectory();
makefileIn += "/";
makefileIn += "CMakeLists.txt";
+ makefileIn = cmSystemTools::CollapseFullPath(makefileIn.c_str());
std::string comment = "Building Custom Rule ";
comment += makefileIn;
std::string args;