1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-07 19:39:49 +00:00
evince/cut-n-paste/synctex/meson.build
Vincent Torri 87ffebe573 windows: build needs shlwapi
* PathFindExtension() needs shlwapi DLL to build on Windows.
  shlwapi only is defined on windows platform.
2021-01-24 11:03:20 -03:00

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,
)