cmake-basis / BASIS

CMake BASIS makes it easy to create sharable software and libraries that work together. This is accomplished by combining and documenting some of the best practices and utilities available. This project supplies a fully integrated suite of functionality to make the whole process seamless!
https://cmake-basis.github.io
Other
48 stars 10 forks source link

[CLOSED] Script cache not updated during build #547

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

Issue by schuhschuh Thursday Jan 14, 2016 at 12:29 GMT Originally opened as https://github.com/cmake-basis/legacy/issues/547


When the CMake configuration changes, a new cache.cmake.in file is written by basis_add_script. This file should be copied to cache.cmake whenever the two files differ. For some reason, cmake -E copy_if_different doesn't do this in my MIRTK project. CMake version used is 3.4.1.