2021-01-27 21:26:19 +00:00
|
|
|
project(libreborn)
|
|
|
|
|
2021-06-17 21:32:24 +00:00
|
|
|
add_library(reborn-headers INTERFACE)
|
|
|
|
target_include_directories(reborn-headers INTERFACE include)
|
2021-01-27 21:26:19 +00:00
|
|
|
|
2021-06-17 21:32:24 +00:00
|
|
|
if(BUILD_ARM_COMPONENTS)
|
2021-08-22 03:00:12 +00:00
|
|
|
add_library(reborn SHARED src/reborn.c)
|
2021-06-17 21:32:24 +00:00
|
|
|
target_link_libraries(reborn dl reborn-headers)
|
|
|
|
# Install
|
|
|
|
install(TARGETS reborn DESTINATION "${MCPI_LIB_DIR}")
|
|
|
|
endif()
|