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

24 lines
1.0 KiB
CMake
Raw Normal View History

2018-04-27 19:35:45 +02:00
cmake_minimum_required(VERSION 3.3)
2017-09-18 07:30:54 +02:00
# Add executable called "simple_system" that is built from the source files
# "scv_tr_recording_example.cpp". The extensions are automatically found.
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
)
# Link the executable to the sc_components library. Since the sc_components library has
# public include directories we will use those link directories when building
# simple_system
2020-04-23 16:02:12 +02:00
target_link_libraries (simple_system LINK_PUBLIC scc)
#target_link_libraries (simple_system LINK_PUBLIC ${SystemC_LIBRARIES})
#target_link_libraries (simple_system LINK_PUBLIC ${SCV_LIBRARIES})
2017-09-18 07:30:54 +02:00
target_link_libraries (simple_system LINK_PUBLIC ${Boost_LIBRARIES} )
2020-04-23 16:02:12 +02:00
#target_link_libraries (simple_system LINK_PUBLIC ${CONAN_LIBS_LEVELDB})
#target_link_libraries (simple_system LINK_PUBLIC ${CMAKE_THREAD_LIBS_INIT})
#target_link_libraries (simple_system LINK_PUBLIC ${ZLIB_LIBRARY})
#target_link_libraries (simple_system LINK_PUBLIC ${CMAKE_DL_LIBS})