tiwiq/meson.build

42 lines
979 B
Meson
Raw Normal View History

2023-10-03 17:28:47 +00:00
project('tiwiq',
'cpp',
version: '0.0.0',
default_options: [
'prefix=/usr',
'warning_level=3',
'cpp_std=c++17',
])
twq_lib = static_library('tiwiq',
sources: [
'src/core/KeyMod.cpp',
'src/core/Shortcut.cpp',
],
dependencies: [
dependency('ncursesw')
])
twq_dep = declare_dependency(
link_with: twq_lib,
include_directories: ['src/']
)
executable('twq',
sources: [
'src/main.cpp'
],
dependencies: [
twq_dep
],
install: true)
executable('twq-tests',
sources: [
'tests/main.cpp',
'tests/Shortcut.cpp',
],
dependencies: [
twq_dep,
dependency('catch2')
])