Skip to content

cmake: Drop unnecessary working mode checks

Brad King requested to merge brad.king/cmake:minor-cleanup into master

In cmake::Run we return before Configure or Generate when not working in normal mode so they do not need mode checks.

While at it, remove a long-outdated comment about when to save the cache.

Also declare the VariableWatch member only when used (minor cleanup).

Edited by Brad King

Merge request reports