##// END OF EJS Templates
Meson: Removed build_by_default for cppcheck target....
jeandet -
r634:3ac95ed8c87f
parent child
Show More
@@ -1,36 +1,35
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','moc-qt5')
14 14
15 15 subdir('core')
16 16 subdir('gui')
17 17 subdir('app')
18 18 subdir('plugins')
19 19
20 20 if build_machine.system()=='darwin'
21 21 install_data('build_cfg/mac/sciqlopLOGO.icns', install_dir : 'Contents/Resources')
22 22 install_data('build_cfg/mac/Info.plist', install_dir : 'Contents')
23 23 meson.add_install_script('build_cfg/mac/install_script.sh')
24 24 elif host_machine.system()=='windows'
25 25 meson.add_install_script('build_cfg/windows/install_script.sh')
26 26 endif
27 27
28 28 cppcheck = find_program('cppcheck', required : false)
29 29
30 30 if cppcheck.found()
31 31 run_target('cppcheck',
32 32 command : [cppcheck, '--enable=all',
33 '--project=' + join_paths(meson.build_root(), 'compile_commands.json')],
34 build_by_default : true
33 '--project=' + join_paths(meson.build_root(), 'compile_commands.json')]
35 34 )
36 35 endif
General Comments 0
You need to be logged in to leave comments. Login now