PySysC-SC/components/CMakeLists.txt

14 lines
361 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.
set(LIBRARY_NAME components)
# 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)
target_include_directories (components PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})