| 12345678910111213141516171819 |
- # Common library - shared utilities and types
- add_library(smartbotic_common STATIC
- src/common.cpp
- )
- target_include_directories(smartbotic_common
- PUBLIC
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
- $<INSTALL_INTERFACE:include>
- )
- target_link_libraries(smartbotic_common
- PUBLIC
- spdlog::spdlog
- nlohmann_json::nlohmann_json
- )
- add_library(smartbotic::common ALIAS smartbotic_common)
|