Aegisub/subprojects/packagefiles/boost/libs/chrono/meson.build

16 lines
725 B
Meson
Raw Normal View History

2020-10-27 18:13:11 +01:00
chrono_sources = files([
'src/chrono.cpp',
'src/thread_clock.cpp',
'src/process_cpu_clocks.cpp',
])
boost_chrono = library('boost_chrono', chrono_sources,
include_directories: inc,
cpp_args: is_static ? '-DBOOST_All_STATIC_LINK=1' : '-DBOOST_All_DYN_LINK=1',
dependencies: thread_dep)
boost_chrono_dep = declare_dependency(link_with: boost_chrono, include_directories: inc,
compile_args: [is_static ? '-DBOOST_CHRONO_STATIC_LINK=1'
: '-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_ALL_NO_LIB=1'])