meson.build
38 lines
| 922 B
| text/plain
|
TextLexer
/ app / meson.build
r579 | ||||
app_moc_headers = [ | ||||
'include/MainWindow.h' | ||||
] | ||||
app_ui_files = [ | ||||
'ui/MainWindow.ui' | ||||
] | ||||
app_qresources = ['resources/qlopapp.qrc'] | ||||
app_moc_files = qt5.preprocess(moc_headers : app_moc_headers, | ||||
ui_files : app_ui_files, | ||||
qresources : app_qresources) | ||||
app_sources = [ | ||||
'src/Main.cpp', | ||||
'src/MainWindow.cpp' | ||||
] | ||||
app_inc = include_directories(['include']) | ||||
if host_machine.system()=='windows' or build_machine.system()=='windows' | ||||
winmod = import('windows') | ||||
rc = winmod.compile_resources('resources/qlopapp.rc') | ||||
else | ||||
rc = [] | ||||
endif | ||||
sciqlop_app = executable('sciqlop', | ||||
app_sources, | ||||
app_moc_files, | ||||
rc, | ||||
r617 | include_directories : [ app_inc], | |||
dependencies : [sciqlop_gui, sciqlop_core], | ||||
r579 | install : true | |||
) | ||||