gnucash/common/cmake_modules
Geert Janssens a543143689 Generate the gresource xml file based on a list of resources
This inverts the logic from
- having an xml file and extracting dependencies
  from it to
- having a list of dependencies and generating
  an xml file from it

In the original configuration adding or removing a
resource to/from the gresources.xml file would not
be detected by cmake as a change in dependencies.
The user would have to remember to rerun cmake manually.
By explicitly listing the dependencies, cmake will
properly recongifure and regenerate if that list is
updated. The remainder of the dependency configuration
also ensures proper rebuilds of gnucash, libaqbanking
and libofx if any of the resource files change, a new
one is added or an existing one is removed.

For reusability the code to generate the gresource related
files as been extracted into a separate function.
2023-01-01 15:06:42 +01:00
..
CMakeLists.txt Generate the gresource xml file based on a list of resources 2023-01-01 15:06:42 +01:00
COPYING-CMAKE-SCRIPTS.txt Housekeeping - replace plenty of http links with https 2019-06-06 15:52:30 +02:00
GncAddGSchemaTargets.cmake Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
GncAddSchemeTargets.cmake Fix various typos 2022-04-08 14:12:50 -04:00
GncAddSwigCommand.cmake Fix various typos 2022-04-08 14:12:50 -04:00
GncAddTest.cmake Fix variable reversal in GncAddTest.cmake. 2021-01-17 11:08:24 -08:00
GncFindLibm.cmake Link with libm.so on those platforms that require it. 2020-07-06 12:30:37 -07:00
GncGenerateGResources.cmake Generate the gresource xml file based on a list of resources 2023-01-01 15:06:42 +01:00
MacroAddSourceFileCompileFlags.cmake CMake - remove parameter repetition in else() and endif() statements - part 2 2020-02-06 16:16:36 +01:00
MacroAppendForeach.cmake Lowercase cmake commands 2018-05-03 23:18:15 +02:00
MakeDist.cmake Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
MakeDistCheck.cmake Merge branch 'maint' 2020-04-13 11:27:14 -07:00
MakeDistFiles.cmake Make swig wrapper generation just another build step 2019-09-21 22:50:51 +02:00