clean-up of build system

This commit is contained in:
2020-04-23 16:11:34 +02:00
parent 7f096a7d87
commit 19d76c2948
5 changed files with 15 additions and 90 deletions

View File

@ -1,6 +1,4 @@
cmake_minimum_required(VERSION 3.3)
# Add executable called "simple_system" that is built from the source files
# "scv_tr_recording_example.cpp". The extensions are automatically found.
cmake_minimum_required(VERSION 3.12)
add_executable (simple_system
plic.cpp
uart.cpp
@ -10,14 +8,5 @@ add_executable (simple_system
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
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})
target_link_libraries (simple_system LINK_PUBLIC ${Boost_LIBRARIES} )
#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})