diff options
author | Brad King <brad.king@kitware.com> | 2010-03-11 13:49:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-03-11 14:40:24 (GMT) |
commit | 87f0853941f09379f625ae96d67b15b9cb2ad51a (patch) | |
tree | 47d75fadbe358e5c328f20c25d993bd6884cd224 /Source/cmLocalGenerator.h | |
parent | a4f798d3f7c852605e73e7217c22bb19c271c7ad (diff) | |
download | CMake-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/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index becdfff..489b613 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -102,7 +102,7 @@ public: * path setting */ enum RelativeRoot { NONE, FULL, HOME, START, HOME_OUTPUT, START_OUTPUT }; - enum OutputFormat { UNCHANGED, MAKEFILE, SHELL }; + enum OutputFormat { UNCHANGED, MAKEFILE, SHELL, RESPONSE }; std::string ConvertToOutputFormat(const char* source, OutputFormat output); std::string Convert(const char* remote, RelativeRoot local, OutputFormat output = UNCHANGED, |