comparison mupdf-source/thirdparty/lcms2/plugins/threaded/src/meson.build @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 liblcms2_threaded_sources = files(
2 'threaded_core.c',
3 'threaded_main.c',
4 'threaded_scheduler.c',
5 'threaded_split.c',
6 )
7
8 lcms2_threaded_incdir = include_directories('../include', '.')
9
10 if host_machine.system() == 'windows'
11 lcms2_threaded_rc = configure_file(
12 input: 'lcms2_threaded.rc.in',
13 configuration: version_cfg,
14 output: 'lcms2_threaded.rc',
15 )
16
17 liblcms2_threaded_sources += win.compile_resources(lcms2_threaded_rc)
18 endif
19
20 liblcms2_threaded = library(
21 'lcms2_threaded',
22 liblcms2_threaded_sources,
23 include_directories: lcms2_threaded_incdir,
24 dependencies: [ liblcms2_dep, threads_dep ],
25 c_args: cargs,
26 install: true,
27 )
28
29 liblcms2_threaded_dep = declare_dependency(
30 link_with: liblcms2_threaded,
31 include_directories: lcms2_threaded_incdir,
32 )
33
34 extra_libraries += liblcms2_threaded