universe@375: set(sources universe@375: allocator.c universe@375: array.c universe@375: avl.c universe@375: buffer.c universe@375: list.c universe@375: logging.c universe@375: map.c universe@375: mempool.c universe@375: properties.c universe@375: stack.c universe@375: string.c universe@375: test.c universe@375: ucx.c universe@375: utils.c universe@375: ) universe@375: universe@375: add_library(ucx SHARED ${sources}) universe@375: add_library(ucx_static STATIC ${sources}) universe@375: universe@375: target_include_directories(ucx PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) universe@375: target_include_directories(ucx_static PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) universe@375: universe@375: set_target_properties(ucx PROPERTIES SOVERSION 3 VERSION 3.1.0) universe@375: set_target_properties(ucx_static PROPERTIES VERSION ${CMAKE_PROJECT_VERSION})