blob: a4e13eaea5162ffca0b4b3bcb000c1d81476cd06 [file] [log] [blame]
# build simulator
subdir('simulator')
# supporting files that need compiled/linked
test_src = ['../src/util/hei_bit_string.cpp']
# build g-test framework unit tests
gtests = ['bit_string_test']
gtest = dependency('gtest', main : true, required : false, method : 'system')
if gtest.found()
foreach g : gtests
test(g, executable(g.underscorify(), g + '.cpp', test_src, \
dependencies : gtest, \
include_directories : incdir))
endforeach
endif