mirror of https://github.com/GNOME/gimp.git
106f2a061d
Our meson build system was not properly building the enums.c file, because they are versionned. I did a similar trick as what I did for the pdbgen, which is that I used a wrapper script around the existing perl script, which sets proper options and generate a stamp file in the end (which is considered by meson as the actual custom target, not the C file since it is generated in the source dir). The most important part is that the stamp file is a generated header source (not just a random text file) which is **included** by the generated C file. This is what will force meson to regenerate the C file if the header is updated, **then** build using this new version, not use an outdated versionned version (which would make for hard to diagnose bugs), through the indirection of the intermediate stamp header. See #4201. See also: https://github.com/mesonbuild/meson/issues/10196#issuecomment-1080742592 |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
colorsvg2png.c | ||
compute-svg-viewbox.c | ||
defcheck.py | ||
extract-vector-icon.sh | ||
flatpak-releases | ||
generate-icon-makefiles.py | ||
generate-news | ||
generate-welcome-dialog-data.py | ||
generate_changelog.sh | ||
gimp-debug-resume.c | ||
gimp-mkenums | ||
gimp-test-clipboard.c | ||
gimppath2svg.py | ||
gimptool.c | ||
kernelgen.c | ||
meson-mkenums.sh | ||
meson.build | ||
meson_install_subdir.py | ||
mnemonic-clashes | ||
module-dependencies.py | ||
performance-log-close-tags.py | ||
performance-log-coalesce.py | ||
performance-log-deduce.py | ||
performance-log-expand.py | ||
performance-log-progressive-coalesce.py | ||
performance-log-resolve.py | ||
performance-log-viewer | ||
performance-log-viewer.py | ||
release-stats.sh |