[cmake-developers] Unittests with reconfiguration

Raffi Enficiaud raffi.enficiaud at mines-paris.org
Mon Apr 27 04:13:52 EDT 2015


Hi,

I would like to know if it is possible to have a unit test with two runs 
of cmake, simulating a user change of the cache in between.

The workflow would be the following:
- run cmake with default options, cache entries automatically populated
- change some cache value
- run cmake again and check the output and cache output

I am right now looking at RunCMake but I do not think this scheme is 
suitable for that.

Would anyone point me to some test already performing that?

Many thanks,
Raffi



More information about the cmake-developers mailing list