mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-07-07 19:39:49 +00:00
* PathFindExtension() needs shlwapi DLL to build on Windows. shlwapi only is defined on windows platform.
25 lines
463 B
Meson
25 lines
463 B
Meson
sources = files(
|
|
'synctex_parser.c',
|
|
'synctex_parser_utils.c',
|
|
)
|
|
|
|
libsynctex = static_library(
|
|
'synctex',
|
|
sources: sources,
|
|
include_directories: top_inc,
|
|
c_args: '-DSYNCTEX_VERBOSE=0',
|
|
)
|
|
|
|
# for PathFindExtension
|
|
if host_machine.system() == 'windows'
|
|
shlwapi = cc.find_library('shlwapi')
|
|
else
|
|
shlwapi = []
|
|
endif
|
|
|
|
synctex_dep = declare_dependency(
|
|
include_directories: include_directories('.'),
|
|
dependencies: shlwapi,
|
|
link_with: libsynctex,
|
|
)
|