mirror of https://github.com/cutefishos/calamares
CMake: stop clobbering config files
When CMake runs, configure_file() will clobber the config files in the build/ directory, which is annoying during testing: you need to keep making the same edits, or edit the source. - Introduce new behavior: the config file is **not** overwritten unless the source file is newer. This means that edits to config files in the build directory are preserved. - If INSTALL_CONFIG is **on** then the files are clobbered anyway (the source is considered new regardless).main
parent
a8c4f5b758
commit
f7102527a8
Loading…
Reference in New Issue