##// END OF EJS Templates
Added back AMDA plugin, but Python impl this time :)...
Added back AMDA plugin, but Python impl this time :) Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1493:8e5e8e454bfd
r1496:7c6302eee778
Show More
meson.build
66 lines | 1.8 KiB | text/plain | TextLexer
Added Meson support....
r620
app_moc_headers = [
Small fix on Meson build defs...
r1463 'include/MainWindow.h',
Refactored main toolbar to make it suck less :)...
r1462 'include/toolbar.h'
Added Meson support....
r620 ]
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',
Small fix on Meson build defs...
r1463 'src/MainWindow.cpp',
Refactored main toolbar to make it suck less :)...
r1462 'src/toolbar.cpp'
Added Meson support....
r620 ]
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
Fixed OSX build
r1395 app_libs = []
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
r1397 cpp_args = []
Fixed OSX build
r1395 if 'static' == get_option('default_library')
Minor AppImage and Meson fixes...
r1443 app_libs = [sciqlop_python_providers]
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
r1397 cpp_args += ['-DQT_STATICPLUGIN']
Fixed OSX build
r1395 endif
[Build]Remove old SciQLop app...
r1493 #sciqlop_app = executable('sciqlop',
# app_sources,
# app_moc_files,
# rc,
# include_directories : [ app_inc],
# link_with: app_libs,
# cpp_args: cpp_args,
# dependencies : [sciqlop_gui, sciqlop_core],
# install : true
# )
Update Meson build def...
r1480
sciqlop_app_lib = library('sciqlop',
app_sources,
app_moc_files,
rc,
include_directories : [ app_inc],
link_with: app_libs,
cpp_args: cpp_args,
dependencies : [sciqlop_gui, sciqlop_core],
install : true
)
sciqlop_app_dep = declare_dependency(link_with : sciqlop_app_lib,
include_directories : app_inc,
dependencies : [sciqlop_gui, sciqlop_core])
subdir('PySide2-bindings')