summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-03-11 13:49:05 (GMT)
committerBrad King <brad.king@kitware.com>2010-03-11 14:40:24 (GMT)
commit87f0853941f09379f625ae96d67b15b9cb2ad51a (patch)
tree47d75fadbe358e5c328f20c25d993bd6884cd224 /Source/cmMakefileTargetGenerator.cxx
parenta4f798d3f7c852605e73e7217c22bb19c271c7ad (diff)
downloadCMake-87f0853941f09379f625ae96d67b15b9cb2ad51a.zip
CMake-87f0853941f09379f625ae96d67b15b9cb2ad51a.tar.gz
CMake-87f0853941f09379f625ae96d67b15b9cb2ad51a.tar.bz2
Use forward slashes for objects in response files
Response files are parsed by tools, not by shells. We teach cmLocalGenerator::Convert() a new "RESPONSE" output format and use it for objects listed in response files. It does not do special slash or MSYS root translation like the "SHELL" format does. This is necessary for GNU tools on Windows to understand response file content. See issue #10401.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index dd45950..e35e5a3 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1329,7 +1329,7 @@ public:
this->NextObject =
this->LocalGenerator->Convert(obj.c_str(),
cmLocalGenerator::START_OUTPUT,
- cmLocalGenerator::SHELL);
+ cmLocalGenerator::RESPONSE);
// Roll over to next string if the limit will be exceeded.
if(this->LengthLimit != std::string::npos &&