diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-15 10:36:27 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-15 13:28:37 (GMT) |
commit | 4edc0ef359578ddaa7db0163e3a6097e12530c9b (patch) | |
tree | df9b3e29e78bc5835037c2d63af61d15fb787217 /Modules/FindDoxygen.cmake | |
parent | 66efdbd21a46b63572f5de677ed126a68e524e7a (diff) | |
download | CMake-4edc0ef359578ddaa7db0163e3a6097e12530c9b.zip CMake-4edc0ef359578ddaa7db0163e3a6097e12530c9b.tar.gz CMake-4edc0ef359578ddaa7db0163e3a6097e12530c9b.tar.bz2 |
Test: Improve WarnUnusedCliUnused to run on all generators
In the WarnUnusedCliUnused test, the whole CMakeCache.txt was removed in the
clean stage to trigger the same CMake warning in re-builds. This technique
worked only in the Makefile generators and the test was limited to these.
Now only the variable of interest is removed from the cache by using a
`unset(UNUSED_CLI_VARIABLE CACHE)` statement in the CMakeLists.txt file.
This makes the WarnUnusedCliUnused test run on all generators
Diffstat (limited to 'Modules/FindDoxygen.cmake')
0 files changed, 0 insertions, 0 deletions