blob: 82e2336e95b4ee20a852289558e433ee8f69d0c3 [file] [log] [blame]
# Simulator sources
sim_src = files(
'simulator.cpp',
'sim_hardware_access.cpp',
'../sim_tracing.cpp'
)
subdir('testcases')
gtest = dependency('gtest', main : true, required : false, method : 'system')
# Build simulator linked locally
if gtest.found()
test('simulator',
executable('simulator', sim_src, test_src,
dependencies : gtest,
link_with : libhei_static,
include_directories: [ incdir, '.' ]))
endif