SystemC-Components-Test/examples/simple_system/CMakeLists.txt

14 lines
362 B
CMake
Raw Permalink Normal View History

2020-04-23 16:11:34 +02:00
cmake_minimum_required(VERSION 3.12)
2017-09-18 07:30:54 +02:00
add_executable (simple_system
plic.cpp
2017-09-18 07:30:54 +02:00
uart.cpp
spi.cpp
gpio.cpp
test_initiator.cpp
simple_system.cpp
sc_main.cpp
)
2020-04-23 16:02:12 +02:00
target_link_libraries (simple_system LINK_PUBLIC scc)
2017-09-18 07:30:54 +02:00
target_link_libraries (simple_system LINK_PUBLIC ${Boost_LIBRARIES} )
2020-06-04 20:13:02 +02:00
add_test(NAME simple_system_test COMMAND simple_system)