You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CMake issue: removing a folder with test files triggers recompilation #79
Removing a a folder in the test suite should make CMake copy a fresh folder with updated test fils (I tried with tests/input). No executable or source file is affected and recompilation should therefore not be necessary.
Current Behavior
In addition to copying the folder (correct behavior) CMake recompiles some libraries.
The solution I can see is to make the copy operation a custom target upon which testing itself depends.
As a temporary workaround, touch CMakeLists.txt in the subdirectory of tests that you've modified.
Activity
robertodr commentedon Jul 3, 2017
The solution I can see is to make the copy operation a custom target upon which testing itself depends.
As a temporary workaround,
touch CMakeLists.txtin the subdirectory ofteststhat you've modified.