gnucash/cmake
Geert Janssens 0cfb40efeb CMake - use configure_file instead of file(COPY ) wherever possible
file(COPY ) will only trigger when the destination file doesn't exist yet.
It won't retrigger on source file changes.
configure_file on the other hand will. To avoid unwanted substitution
attempts this can be invoked with the COPYONLY keyword.
Disadvantage of configure_file is that it will only take one
input file where file(COPY ) can operate on a list of files.
As such the configure_file statement has to be wrapped in a foreach.

A few uses of file(COPY ) can't be replaced as they are setting
file permissions. And the one in make_dist has been kept as that
always operates on an empty directory, hence copying is guaranteed.

The former will monitor the file for updates and copy it again
the latter will only copy the file if it doesn't exist in the destination yet
2020-04-19 21:23:22 +02:00
..
cmake_uninstall.cmake.in CMake - remove parameter repetition in else() and endif() statements - part 2 2020-02-06 16:16:36 +01:00
CMakeLists.txt Tweak appdata file generation some more 2020-02-17 14:23:43 +01:00
configure-appdata.cmake Tweak appdata file generation some more 2020-02-17 14:23:43 +01:00
configure-gnucash-desktop.cmake Tweak appdata file generation some more 2020-02-17 14:23:43 +01:00
configure-manpage.cmake CMake - use configure_file instead of file(COPY ) wherever possible 2020-04-19 21:23:22 +02:00
git2version-info.cmake Extract a few cmake commands to dedicated files rather than generating them on the fly 2019-08-24 17:05:03 +02:00
README_CMAKE.txt Housekeeping - replace plenty of http links with https 2019-06-06 15:52:30 +02:00
version-info2env.cmake Extract a few cmake commands to dedicated files rather than generating them on the fly 2019-08-24 17:05:03 +02:00