summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorThomas Herz <thomas.herz@kuka.com>2015-05-06 22:45:01 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-07 18:07:20 (GMT)
commitb3de0dfe93af769ee7420cd1380395d656b4dac9 (patch)
treef00d6b329039893f39d09775c2d73a8bc5cab3b7 /Source/cmGlobalNinjaGenerator.h
parent378c2a0e860f32e0435844d7d6af79a4fdc2b455 (diff)
downloadCMake-b3de0dfe93af769ee7420cd1380395d656b4dac9.zip
CMake-b3de0dfe93af769ee7420cd1380395d656b4dac9.tar.gz
CMake-b3de0dfe93af769ee7420cd1380395d656b4dac9.tar.bz2
Ninja: Use forward slashes for any GCC on Windows (#15439)
Any GCC compiler on a Windows host needs forward slashes, not just those built for MinGW.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 9b6717a..00dc237 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -155,7 +155,7 @@ public:
const cmNinjaDeps& targets,
const std::string& comment = "");
- bool IsMinGW() const { return this->UsingMinGW; }
+ bool IsGCCOnWindows() const { return UsingGCCOnWindows; }
public:
/// Default constructor.
@@ -360,7 +360,7 @@ private:
/// The set of dependencies to add to the "all" target.
cmNinjaDeps AllDependencies;
- bool UsingMinGW;
+ bool UsingGCCOnWindows;
/// The set of custom commands we have seen.
std::set<cmCustomCommand const*> CustomCommands;