Issue #2061 Follow-up: Export jxl/version.h.

Fixes building on Windows.
I also decided to move the preprocessed jxl/version.h to our include/jxl
 instead of relying on moz.build in preprocessing the file. Future me
 should note to not forget to update the version number at that new file
This commit is contained in:
Job Bautista 2022-12-24 10:42:27 +08:00 • committed by roytam1
commit b18114517b
2 changed files with 40 additions and 4 deletions

View file

@ -106,13 +106,10 @@ SOURCES += [
"/media/libjxl/src/lib/threads/thread_parallel_runner_internal.cc",
]
DEFINES["JPEGXL_MAJOR_VERSION"] = "0"
DEFINES["JPEGXL_MINOR_VERSION"] = "7"
DEFINES["JPEGXL_PATCH_VERSION"] = "0"
EXPORTS.jxl += [
"./include/jxl/jxl_export.h",
"./include/jxl/jxl_threads_export.h",
"./include/jxl/version.h",
"/media/libjxl/src/lib/include/jxl/butteraugli.h",
"/media/libjxl/src/lib/include/jxl/butteraugli_cxx.h",
"/media/libjxl/src/lib/include/jxl/cms_interface.h",