diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-04 20:40:11 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-14 18:36:28 (GMT) |
commit | b17686d2bbc193f19c60cdf44a228e49b4ffe386 (patch) | |
tree | e2af5214e7af7f0b98050429db9ae4d59df3b5db /Source/cmGlobalNinjaGenerator.cxx | |
parent | ed41a8e7b4cf665ebab8e4780f8b0b299113fd11 (diff) | |
download | CMake-b17686d2bbc193f19c60cdf44a228e49b4ffe386.zip CMake-b17686d2bbc193f19c60cdf44a228e49b4ffe386.tar.gz CMake-b17686d2bbc193f19c60cdf44a228e49b4ffe386.tar.bz2 |
cmGlobalGenerator: Move some flags from cmLocalGenerator.
These flags are global, and so they belong here instead of being
set on each local generator.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 0e4fbaf..9a952a3 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -488,6 +488,9 @@ cmGlobalNinjaGenerator::cmGlobalNinjaGenerator() , ComputingUnknownDependencies(false) , PolicyCMP0058(cmPolicies::WARN) { +#ifdef _WIN32 + this->WindowsShell = true; +#endif // // Ninja is not ported to non-Unix OS yet. // this->ForceUnixPaths = true; this->FindMakeProgramFile = "CMakeNinjaFindMake.cmake"; |