2019-01-01 12:19:44 +01:00
|
|
|
set(LIB_SOURCES
|
|
|
|
initiator.cpp
|
|
|
|
logging.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})
|
|
|
|
target_link_libraries (${LIBRARY_NAME} LINK_PUBLIC sc-components)
|
2019-01-01 14:45:58 +01:00
|
|
|
target_include_directories (components PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|