summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-28 19:39:56 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-28 19:44:04 (GMT)
commit353f6362baffbcc8750b9ff9649552bf9d555a63 (patch)
tree6189f825c66d6950d781813a8f8e41fef857eb87 /Source/cmGlobalNinjaGenerator.h
parentee0f2d23fcf3cd7a67ad8d7bd132a475ed78405f (diff)
downloadCMake-353f6362baffbcc8750b9ff9649552bf9d555a63.zip
CMake-353f6362baffbcc8750b9ff9649552bf9d555a63.tar.gz
CMake-353f6362baffbcc8750b9ff9649552bf9d555a63.tar.bz2
Ninja: Fix POST_BUILD noop on Windows
Use `cd .` instead of `:` in a Windows shell. Closes: #16393
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 81ec3eb..064ff0b 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -58,6 +58,9 @@ public:
/// The indentation string used when generating Ninja's build file.
static const char* INDENT;
+ /// The shell command used for a no-op.
+ static std::string const SHELL_NOOP;
+
/// Write @a count times INDENT level to output stream @a os.
static void Indent(std::ostream& os, int count);