##// END OF EJS Templates
Switch to speasy...
Switch to speasy Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1488:dd3017c130fb
r1510:0046d29d6c44 PySide2
Show More
meson.build
61 lines | 2.3 KiB | text/plain | TextLexer
Minor build fixes on Python stuff detection...
r1488 project(
'SciQLOP',
'cpp',
default_options : 'cpp_std=c++17',
meson_version : '>=0.51.0',
version : '1.1.0',
license : 'GPL3'
)
add_global_arguments('-DSCIQLOP_VERSION="@0@"'.format(meson.project_version()), language : 'cpp')
Added Meson support....
r620
qt5 = import('qt5')
qt5core = dependency('qt5', modules : 'Core')
qt5widgets = dependency('qt5', modules : 'Widgets')
qt5gui = dependency('qt5', modules : 'Gui')
qt5svg = dependency('qt5', modules : 'Svg')
qt5xml = dependency('qt5', modules : 'Xml')
qt5network = dependency('qt5', modules : 'Network')
qt5printsupport = dependency('qt5', modules : 'PrintSupport')
Updated meson build build definitions...
r1355 qt5Concurrent = dependency('qt5', modules : 'Concurrent')
Added Meson support....
r620 qt5test = dependency('qt5', modules : 'Test')
Added cpp_utils as subproject and removed few warnings...
r1485 cpp_utils_dep = dependency('cpp_utils', fallback:['cpp_utils','cpp_utils_dep'])
Added workaround for meson's rcc call with plugins....
r651 moc = find_program('moc-qt5','moc')
rcc = find_program('rcc-qt5','rcc')
Added Meson support....
r620
if build_machine.system()=='darwin'
Add link option for MAC
r962 add_global_link_arguments('-headerpad_max_install_names', language : 'cpp')
Added Meson support....
r620 install_data('build_cfg/mac/sciqlopLOGO.icns', install_dir : 'Contents/Resources')
install_data('build_cfg/mac/Info.plist', install_dir : 'Contents')
meson.add_install_script('build_cfg/mac/install_script.sh')
elif host_machine.system()=='windows'
meson.add_install_script('build_cfg/windows/install_script.sh')
Added AppImage build support for linux...
r1391 elif host_machine.system()=='linux'
install_data('app/resources/sciqlopLOGO.svg', install_dir : 'share/icons/hicolor/scalable/')
install_data('app/resources/SciQLOP.desktop', install_dir : 'share/applications')
added appstream data...
r1402 install_data('app/resources/SciQLOP.appdata.xml', install_dir : 'share/metainfo')
Added Meson support....
r620 endif
Alexandre Leroux
Sets option for Meson
r1117 # Sets AMDA server that will be used during execution.
# Available values are:
# - "default": default AMDA server
# - "amdatest": AMDA test server
Alexandre Leroux
Adds "hybrid" server mode...
r1118 # - "hybrid": use both the default server and the test server (the server used is relative to each product, according to its "server" property in the JSON file)
Alexandre Leroux
Adds "local server" mode...
r1120 # - "localhost": use local AMDA server
Alexandre Leroux
Sets option for Meson
r1117 # Any other value will lead to the use of the default server
Alexandre Leroux
Adds "hybrid" server mode...
r1118 add_project_arguments('-DSCIQLOP_AMDA_SERVER="hybrid"', language : 'cpp')
Alexandre Leroux
Sets option for Meson
r1117
Add link option for MAC
r962 subdir('core')
subdir('gui')
subdir('plugins')
Fixed OSX build
r1395 subdir('app')
Add link option for MAC
r962
Added Meson support....
r620 cppcheck = find_program('cppcheck', required : false)
if cppcheck.found()
run_target('cppcheck',
command : [cppcheck, '--enable=all',
Meson: Removed build_by_default for cppcheck target....
r634 '--project=' + join_paths(meson.build_root(), 'compile_commands.json')]
Added Meson support....
r620 )
added appstream data...
r1402 endif