Files
finger/meson.build
T
pmb f71f1c9b11 Initial commit
Add .gitignore to exclude VSCode workspace files and build artifacts
2025-06-24 15:28:09 -07:00

25 lines
709 B
Meson

project('finger', 'cpp',
version : '0.1.0',
default_options : ['warning_level=3',
'cpp_std=c++20'])
# Find Boost dependencies - prefer static libraries
boost_dep = dependency('boost', modules : ['system'], static : true)
# Find Google Test dependency
gtest_dep = dependency('gtest', main : true, required : true)
executable('finger',
'main.cpp','handler.cpp',
dependencies : [boost_dep],
link_args : ['-static', '-static-libgcc', '-static-libstdc++'],
install : true)
# Test executable
test_exe = executable('test_handler',
'test_handler.cpp', 'handler.cpp',
dependencies : [boost_dep, gtest_dep])
# Register the test
test('handler_tests', test_exe)