gnucash/common/cmake_modules
Geert Janssens 3dff4e5211 Fix make dist on a clean checkout
cmake with unix makefiles fails to resolve dist dependencies
added from COPY_FROM_BUILD if these dependencies aren't built yet.

This commit replaces the COPY_FROM_BUILD based logic with two new functions
'dist_add_configured' and 'dist_add_generated' to indicate which files should
be included in the dist tarball. The latter also adds a target level dependency
to the dist tarball custom command. Hence the former should
be used for files that get generated during a cmake run while the latter
should be used for files generated as the result of a 'make/ninja-build' run
(like files for which an add_custom_command rule exists).

Note: this commit also temporarily disables the dist target when building
from a tarball (and hence it won't be tested in distcheck either). This
will be handled in a future commit.
2018-01-29 19:46:44 +01:00
..
CMakeLists.txt Replace GNC_CONFIGURE(2) with configure_file 2017-12-23 14:07:25 +01:00
COPYING-CMAKE-SCRIPTS.txt Restructure the src directory 2017-08-10 18:45:00 +02:00
GncAddGSchemaTargets.cmake Replace GNC_CONFIGURE(2) with configure_file 2017-12-23 14:07:25 +01:00
GncAddSchemeTargets.cmake Drop guile 1.8 support 2017-12-20 14:55:40 +01:00
GncAddSwigCommand.cmake Fix make dist on a clean checkout 2018-01-29 19:46:44 +01:00
GncAddTest.cmake Add support for guile 2.2 2017-12-20 14:55:40 +01:00
GncFindPkgConfig.cmake Restructure the src directory 2017-08-10 18:45:00 +02:00
MacroAddSourceFileCompileFlags.cmake Restructure the src directory 2017-08-10 18:45:00 +02:00
MacroAppendForeach.cmake Restructure the src directory 2017-08-10 18:45:00 +02:00
MakeDist.cmake Fix make dist on a clean checkout 2018-01-29 19:46:44 +01:00
MakeDistCheck.cmake Fix make dist on a clean checkout 2018-01-29 19:46:44 +01:00
MakeDistFiles.cmake Fix make dist on a clean checkout 2018-01-29 19:46:44 +01:00