##// END OF EJS Templates
Updated meson build files...
Updated meson build files Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1425:697deb00ef40
r1425:697deb00ef40
Show More
meson.build
46 lines | 1.2 KiB | text/plain | TextLexer
Added Meson support....
r620
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
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')
Updated meson build files...
r1425 app_libs = [sciqlop_mockplugin, 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
Added Meson support....
r620 sciqlop_app = executable('sciqlop',
app_sources,
app_moc_files,
rc,
Some Meson improvements, now declare dependency for each lib...
r662 include_directories : [ app_inc],
Fixed OSX build
r1395 link_with: app_libs,
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
r1397 cpp_args: cpp_args,
Some Meson improvements, now declare dependency for each lib...
r662 dependencies : [sciqlop_gui, sciqlop_core],
Added Meson support....
r620 install : true
)