Let's say a project defines a bunch of tests which require setup and tear
down steps before/after all the tests are run (not each individual test,
I'm talking here about one setup before all tests are run and one tear down
after all tests have finished). While this could be done by a script
driving
Check out CMAKE_CONFIGURE_DEPENDS, I think it should do what you want:
https://cmake.org/cmake/help/latest/prop_dir/CMAKE_CONFIGURE_DEPENDS.html
On Saturday, 20 August 2016, Daniel Levin wrote:
> CMake can automatically invoke configuration at build time when any
> dependency has been modified.