2018-03-27 20:52:14 +02:00
|
|
|
cmake_minimum_required(VERSION 3.3)
|
2017-09-18 07:30:54 +02:00
|
|
|
# Add executable called "transaction_recording" that is built from the source files
|
|
|
|
# "scv_tr_recording_example.cpp". The extensions are automatically found.
|
2018-04-27 19:35:45 +02:00
|
|
|
add_executable (transaction_recording
|
|
|
|
scv_tr_recording_example.cpp
|
|
|
|
)
|
2017-09-18 07:30:54 +02:00
|
|
|
# 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
|
|
|
|
# transaction_recording
|
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC sc-components)
|
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${SystemC_LIBRARIES})
|
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${SCV_LIBRARIES})
|
2018-09-14 19:28:36 +02:00
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${Boost_LIBRARIES} )
|
2018-11-04 13:43:58 +01:00
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${CONAN_LIBS_LEVELDB})
|
2018-09-29 20:01:11 +02:00
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${ZLIB_LIBRARIES} )
|
2017-09-18 07:30:54 +02:00
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
target_link_libraries (transaction_recording LINK_PUBLIC ${CMAKE_DL_LIBS})
|