gecode icon indicating copy to clipboard operation
gecode copied to clipboard

cmake: Only write config.hpp when changed

Open waywardmonkeys opened this issue 7 months ago • 0 comments

By using file(CONFIGURE) instead of file(WRITE), the file output will only be written if it has changed. This allows for running cmake to pick up other (possible) changes without triggering a full rebuild as happens when the config.hpp file has changed.

waywardmonkeys avatar Mar 10 '25 07:03 waywardmonkeys