diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-10-17 13:40:09 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-11-24 19:13:23 (GMT) |
commit | bf76a6b801597da424f1fe0f10adc0e8d559adc3 (patch) | |
tree | d4d9d2843633944af271b6718f89fc92b2064a07 /Source/cmVariableWatchCommand.cxx | |
parent | adc50529ac163889c0353756706a7ffddb4ed957 (diff) | |
download | CMake-bf76a6b801597da424f1fe0f10adc0e8d559adc3.zip CMake-bf76a6b801597da424f1fe0f10adc0e8d559adc3.tar.gz CMake-bf76a6b801597da424f1fe0f10adc0e8d559adc3.tar.bz2 |
cmMakefile: Delay CheckTargetProperties and FinalPass to generate time
Diffstat (limited to 'Source/cmVariableWatchCommand.cxx')
-rw-r--r-- | Source/cmVariableWatchCommand.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmVariableWatchCommand.cxx b/Source/cmVariableWatchCommand.cxx index 039f1ba..35b9a1d 100644 --- a/Source/cmVariableWatchCommand.cxx +++ b/Source/cmVariableWatchCommand.cxx @@ -15,6 +15,8 @@ #include "cmVariableWatch.h" #include "cmake.h" +class cmLocalGenerator; + namespace { struct cmVariableWatchCallbackData { @@ -91,7 +93,7 @@ public: { } - void operator()(cmMakefile&) const {} + void operator()(cmLocalGenerator&, const cmListFileBacktrace&) const {} private: struct Impl @@ -145,7 +147,7 @@ bool cmVariableWatchCommand(std::vector<std::string> const& args, return false; } - status.GetMakefile().AddFinalAction( + status.GetMakefile().AddGeneratorAction( FinalAction{ &status.GetMakefile(), variable }); return true; } |