Commit 8a00302
committed
cmake: Only write config.hpp when changed
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.1 parent f7f0d7c commit 8a00302
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
0 commit comments