PySysC-SC/vp_components/CMakeLists.txt

14 lines
369 B
CMake
Raw Normal View History

2019-01-01 12:19:44 +01:00
set(LIB_SOURCES
initiator.cpp
target.cpp
2019-01-03 21:18:09 +01:00
clkgen.cpp
resetgen.cpp
2019-01-01 12:19:44 +01:00
)
# Define two variables in order not to repeat ourselves.
2021-05-18 16:33:29 +02:00
set(LIBRARY_NAME vp_components)
2019-01-01 12:19:44 +01:00
# Define the library
add_library(${LIBRARY_NAME} SHARED ${LIB_SOURCES})
2020-10-08 17:45:57 +02:00
target_link_libraries (${LIBRARY_NAME} LINK_PUBLIC scc)
2021-05-18 16:33:29 +02:00
target_include_directories (${LIBRARY_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})