Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[cmake] Make CMake aware of textfiles that configure the build #9876
The CMake based buildsystem is based on reading the input of textfiles at configure-time. As CMake does not track files that are just accessed using "file(READ)" building does not automatically retrigger a reconfiguration when those files are changes. This commit fixes it with the CMAKE_CONFIGURE_DEPENDS variable.
This should remove the necessity to manually rerun CMake when files are changed during development. (Due to globbing in some places, CMake still has to be rerun when textfiles are added or removed!)