blob: 7a569b61c59acd2a612832ba1b6bb02f7b957b9a [file] [log] [blame]
Ben Tyner941aaeb2019-04-26 17:38:10 -05001project('openpower-libhei', 'cpp',
2 version: '0.1', meson_version: '>=0.49.0',
3 default_options: [
4 'warning_level=3',
5 'werror=true',
6 'cpp_std=c++11'
7 ])
8
Zane Shelleyad103b92019-07-31 15:57:54 -05009incdir = [ include_directories('src') ]
Ben Tyner941aaeb2019-04-26 17:38:10 -050010
Zane Shelleyad103b92019-07-31 15:57:54 -050011build_tests = get_option('tests')
Ben Tyner941aaeb2019-04-26 17:38:10 -050012
Zane Shelleyad103b92019-07-31 15:57:54 -050013if not build_tests.disabled()
14 incdir += include_directories('test')
15 subdir('test')
Ben Tyner941aaeb2019-04-26 17:38:10 -050016endif