blob: a4e13eaea5162ffca0b4b3bcb000c1d81476cd06 [file] [log] [blame]
Zane Shelleyad103b92019-07-31 15:57:54 -05001# build simulator
2subdir('simulator')
3
Ben Tynera8126fd2019-08-01 19:40:07 -05004# supporting files that need compiled/linked
5test_src = ['../src/util/hei_bit_string.cpp']
6
7# build g-test framework unit tests
8gtests = ['bit_string_test']
9
10gtest = dependency('gtest', main : true, required : false, method : 'system')
11
12if gtest.found()
13 foreach g : gtests
14 test(g, executable(g.underscorify(), g + '.cpp', test_src, \
15 dependencies : gtest, \
16 include_directories : incdir))
17 endforeach
18endif