pixtool/meson.build

46 lines
668 B
Meson

project(
'pixtool',
'cpp',
version: '0.0.0',
default_options: [
'cpp_std=c++17',
'warning_level=3'
]
)
conf = configuration_data()
conf.set('version', meson.project_version())
configure_file(
input: 'src/conf.in.hpp',
output: 'conf.hpp',
configuration: conf
)
qt6 = import('qt6')
qt6_dep = dependency('qt6', modules: ['Core', 'Widgets'])
qt_src = qt6.compile_moc(
headers: [
'src/gui/Window.hpp'
]
)
executable(
'pixtool',
sources: [
'src/main.cpp',
'src/Presenter.cpp',
# model
'src/pixtool/PixTool.cpp',
# gui
'src/gui/Window.cpp',
] + qt_src,
dependencies: [
qt6_dep
],
install: true
)