@@ -1,36 +1,37 | |||
|
1 | 1 | project('SciQLOP', 'cpp',default_options : ['cpp_std=c++14']) |
|
2 | 2 | |
|
3 | 3 | qt5 = import('qt5') |
|
4 | 4 | qt5core = dependency('qt5', modules : 'Core') |
|
5 | 5 | qt5widgets = dependency('qt5', modules : 'Widgets') |
|
6 | 6 | qt5gui = dependency('qt5', modules : 'Gui') |
|
7 | 7 | qt5svg = dependency('qt5', modules : 'Svg') |
|
8 | 8 | qt5xml = dependency('qt5', modules : 'Xml') |
|
9 | 9 | qt5network = dependency('qt5', modules : 'Network') |
|
10 | 10 | qt5printsupport = dependency('qt5', modules : 'PrintSupport') |
|
11 | 11 | qt5test = dependency('qt5', modules : 'Test') |
|
12 | 12 | |
|
13 | 13 | moc = find_program('moc-qt5','moc') |
|
14 | 14 | rcc = find_program('rcc-qt5','rcc') |
|
15 | 15 | |
|
16 | subdir('core') | |
|
17 | subdir('gui') | |
|
18 | subdir('app') | |
|
19 | subdir('plugins') | |
|
20 | ||
|
21 | 16 | if build_machine.system()=='darwin' |
|
17 | add_global_link_arguments('-headerpad_max_install_names', language : 'cpp') | |
|
22 | 18 | install_data('build_cfg/mac/sciqlopLOGO.icns', install_dir : 'Contents/Resources') |
|
23 | 19 | install_data('build_cfg/mac/Info.plist', install_dir : 'Contents') |
|
24 | 20 | meson.add_install_script('build_cfg/mac/install_script.sh') |
|
25 | 21 | elif host_machine.system()=='windows' |
|
26 | 22 | meson.add_install_script('build_cfg/windows/install_script.sh') |
|
27 | 23 | endif |
|
28 | 24 | |
|
25 | subdir('core') | |
|
26 | subdir('gui') | |
|
27 | subdir('app') | |
|
28 | subdir('plugins') | |
|
29 | ||
|
29 | 30 | cppcheck = find_program('cppcheck', required : false) |
|
30 | 31 | |
|
31 | 32 | if cppcheck.found() |
|
32 | 33 | run_target('cppcheck', |
|
33 | 34 | command : [cppcheck, '--enable=all', |
|
34 | 35 | '--project=' + join_paths(meson.build_root(), 'compile_commands.json')] |
|
35 | 36 | ) |
|
36 | 37 | endif |
General Comments 0
You need to be logged in to leave comments.
Login now