26 lines
628 B
Meson
26 lines
628 B
Meson
project('lcppthw', 'cpp',
|
|
default_options: ['cpp_std=c++20'])
|
|
|
|
cmake = import('cmake')
|
|
opts = cmake.subproject_options()
|
|
opts.add_cmake_defines({
|
|
'USE_ICONV': false,
|
|
'USE_SSH': false,
|
|
'USE_NTLMCLIENT': false,
|
|
'BUILD_SHARED_LIBS': true,
|
|
'BUILD_TESTS': false,
|
|
})
|
|
libgit2_proj = cmake.subproject('libgit2', options: opts)
|
|
libgit2package_dep = libgit2_proj.dependency('libgit2package')
|
|
|
|
efsw_proj = cmake.subproject('efsw')
|
|
efsw_dep = efsw_proj.dependency('efsw')
|
|
|
|
fmt = dependency('fmt')
|
|
|
|
dependencies = [
|
|
fmt, libgit2package_dep, efsw_dep,
|
|
]
|
|
|
|
executable('watchgit', 'watchgit.cpp',
|
|
dependencies: dependencies)
|