diff -r be77fb2da242 -r 460c0258bb5b src/CMakeLists.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/CMakeLists.txt Fri Dec 20 14:29:41 2019 +0100 @@ -0,0 +1,25 @@ +set(sources + allocator.c + array.c + avl.c + buffer.c + list.c + logging.c + map.c + mempool.c + properties.c + stack.c + string.c + test.c + ucx.c + utils.c +) + +add_library(ucx SHARED ${sources}) +add_library(ucx_static STATIC ${sources}) + +target_include_directories(ucx PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories(ucx_static PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) + +set_target_properties(ucx PROPERTIES SOVERSION 3 VERSION 3.1.0) +set_target_properties(ucx_static PROPERTIES VERSION ${CMAKE_PROJECT_VERSION})