summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-13 21:36:20 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-13 21:36:20 (GMT)
commit857e2e15dd8871b67ee00a939e903916320457e4 (patch)
treedde741acf9e16d62f19d78b2be632a4562918a75 /Source/cmLocalVisualStudio7Generator.cxx
parent4e96f4d503aff294343f9c3e27e85c54aa15998f (diff)
downloadCMake-857e2e15dd8871b67ee00a939e903916320457e4.zip
CMake-857e2e15dd8871b67ee00a939e903916320457e4.tar.gz
CMake-857e2e15dd8871b67ee00a939e903916320457e4.tar.bz2
ENH: Improved escaping in kwsys/System. Added escape of % for NMake. Added escape of ; for the VS IDE.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 1c144e2..51ebcbc 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -76,7 +76,8 @@ void cmLocalVisualStudio7Generator::FixGlobalTargets()
{
std::vector<std::string> no_depends;
cmCustomCommandLine force_command;
- force_command.push_back(";");
+ force_command.push_back("cd");
+ force_command.push_back(".");
cmCustomCommandLines force_commands;
force_commands.push_back(force_command);
const char* no_main_dependency = 0;