summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-19 20:09:40 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-19 20:11:00 (GMT)
commit7d64a0598db5da2c4c1874f9fe8726fd6c9b18a7 (patch)
tree4ebff3385c9520fecffb588f0b0c448d073d04df /Source/cmLocalNinjaGenerator.cxx
parent866c75dedd42fae9dd05be402bdc94d51ffc7713 (diff)
downloadCMake-7d64a0598db5da2c4c1874f9fe8726fd6c9b18a7.zip
CMake-7d64a0598db5da2c4c1874f9fe8726fd6c9b18a7.tar.gz
CMake-7d64a0598db5da2c4c1874f9fe8726fd6c9b18a7.tar.bz2
Ninja: Add 'restat' parameter to custom command generation method
Pass 'true' from all call sites to preserve existing behavior.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index ecaa269..d9517d8 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -434,6 +434,7 @@ cmLocalNinjaGenerator::WriteCustomCommandBuildStatement(
this->ConstructComment(ccg),
"Custom command for " + ninjaOutputs[0],
cc->GetUsesTerminal(),
+ /*restat*/true,
ninjaOutputs,
ninjaDeps,
orderOnlyDeps);