blob: 88de4b823cd8e75a764fdee6ca279bf10b6f9987 [file] [log] [blame]
Zane Shelley11b89942019-11-07 11:07:28 -06001# Simulator sources
2sim_src = [
3 'simulator.cpp',
4 'user_interface.cpp',
5]
6
7# Isolator sources
8iso_src = [
Paul Greenwood701fcc12019-08-15 19:29:31 -05009 '../../src/isolator/hei_isolator.cpp',
Zane Shelley7bf1f6d2019-10-18 16:03:51 -050010 '../../src/isolator/hei_isolation_node.cpp',
Zane Shelleyb77b5732019-08-30 22:01:06 -050011 '../../src/register/hei_hardware_register.cpp',
Paul Greenwood701fcc12019-08-15 19:29:31 -050012 '../../src/util/hei_bit_string.cpp',
Zane Shelleyad103b92019-07-31 15:57:54 -050013]
14
Zane Shelley11b89942019-11-07 11:07:28 -060015# Test cases
16test_src = [
17 'sample_test_case.cpp',
18]
Zane Shelleyad103b92019-07-31 15:57:54 -050019
Zane Shelley11b89942019-11-07 11:07:28 -060020gtest = dependency('gtest', main : true, required : false, method : 'system')
21
22if gtest.found()
23 test('simulator', \
24 executable('simulator', sim_src, iso_src, test_src, \
25 dependencies : gtest, include_directories: incdir))
26endif
Zane Shelleyad103b92019-07-31 15:57:54 -050027