polysquare / cmake-unit

A unit testing framework for CMake
MIT License
36 stars 5 forks source link

CMakeUnitRunner: Add FORWARD_CACHE_VARIABLES option #103

Closed smspillaz closed 8 years ago

smspillaz commented 8 years ago

This option allows the test author to forward certain variables and make them part of the test's cache from the PRECONFIGURE phase, which is useful if there is a step to be run during preconfigure which should not be run again during the tests.