blob: e780a2ea069676b989e41b2fe28817661cdc3653 [file] [log] [blame]
# build simulator
subdir('simulator')
# supporting files that need compiled/linked
test_src = ['../src/util/hei_bit_string.cpp',
'sim_tracing.cpp']
# build g-test framework unit tests
gtests = [
'bit_string_test',
'flyweight_test',
'operator_register_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