Ben Tyner | 941aaeb | 2019-04-26 17:38:10 -0500 | [diff] [blame] | 1 | project('openpower-libhei', 'cpp', |
Paul Greenwood | dc47e0a | 2019-11-01 16:22:57 -0500 | [diff] [blame] | 2 | version: '0.1', meson_version: '>=0.50.0', |
Ben Tyner | 941aaeb | 2019-04-26 17:38:10 -0500 | [diff] [blame] | 3 | default_options: [ |
4 | 'warning_level=3', | ||||
5 | 'werror=true', | ||||
Ben Tyner | 0fa81f7 | 2019-09-05 14:30:02 -0500 | [diff] [blame] | 6 | 'cpp_std=c++11', |
7 | 'cpp_args=-Wno-unused-parameter' | ||||
8 | ]) | ||||
Ben Tyner | 941aaeb | 2019-04-26 17:38:10 -0500 | [diff] [blame] | 9 | |
Ben Tyner | a8126fd | 2019-08-01 19:40:07 -0500 | [diff] [blame] | 10 | incdir = [include_directories('src')] |
Ben Tyner | 941aaeb | 2019-04-26 17:38:10 -0500 | [diff] [blame] | 11 | |
Zane Shelley | ad103b9 | 2019-07-31 15:57:54 -0500 | [diff] [blame] | 12 | build_tests = get_option('tests') |
Ben Tyner | 941aaeb | 2019-04-26 17:38:10 -0500 | [diff] [blame] | 13 | |
Zane Shelley | ad103b9 | 2019-07-31 15:57:54 -0500 | [diff] [blame] | 14 | if not build_tests.disabled() |
15 | incdir += include_directories('test') | ||||
16 | subdir('test') | ||||
Ben Tyner | 941aaeb | 2019-04-26 17:38:10 -0500 | [diff] [blame] | 17 | endif |