I'm using CMake for a project, and generating some configuration .h files with a configure_file()
command. This works well enough, but - if I make clean
, the generated file is not deleted - nor is it overwritten when I invoke cmake
again with different parameters (or ccmake and so on).
Why is this the case, and how can I force re-generation of configure_file
output files - when necessary / always?