mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-01 13:09:41 -06:00
a6b7eecd81
That should trigger a regeneration of these swig sources if any of the header files change. This is done via a small macro that can be reused for other wrappers as well. Note cmake 3.15 introduces a 'FILTER' generator expression that might allow us to do something like the following: $<FILTER:$<TARGET_PROPERTY:baselib,SOURCES>,INCLUDE,"*.h[pp]?$"> I toyed briefly with that idea but it currently has two issues: 1. 3.15 is newer than our current minimum cmake requirement, so we can't depend in that feature yet. 2. the sources are relative to *their* source directory, which is different from the one in which the wrappers are generated So they should still be properly transformed into absolute paths |
||
---|---|---|
.. | ||
cmake_modules | ||
debug | ||
test-core | ||
base-typemaps.i | ||
CMakeLists.txt | ||
config.h.cmake.in | ||
gnc-test-env.pl | ||
guile-mappings.h | ||
platform.h |