mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Merge "HAL: build shared library as well as static library."
This commit is contained in:
@@ -8,6 +8,10 @@ target_link_libraries(HALAthena ${NI_LIBS})
|
||||
INSTALL(TARGETS HALAthena ARCHIVE DESTINATION lib COMPONENT lib)
|
||||
INSTALL(FILES ${NI_LIBS} ${WPI_LD_LIBS} DESTINATION lib COMPONENT ni_lib)
|
||||
INSTALL(DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT headers)
|
||||
|
||||
add_library(HALAthena_shared SHARED ${SRC_FILES})
|
||||
target_link_libraries(HALAthena_shared ${NI_LIBS})
|
||||
INSTALL(TARGETS HALAthena_shared LIBRARY DESTINATION lib COMPONENT lib)
|
||||
# lib/ c m gcc_s ld-linux
|
||||
# usr/lib
|
||||
# FRC_NetworkCommunication FRC_FPGA_ChipObject RoboRIO_FRC_ChipObject
|
||||
|
||||
Reference in New Issue
Block a user