1 include_directories(../../include)
8 add_library(elliptics_cpp SHARED ${ELLIPTICS_CPP_SRCS})
9 set_target_properties(elliptics_cpp PROPERTIES
10 VERSION ${ELLIPTICS_VERSION}
11 SOVERSION ${ELLIPTICS_VERSION_ABI}
13 target_link_libraries(elliptics_cpp elliptics_client)
15 add_library(elliptics_cpp_static STATIC ${ELLIPTICS_CPP_SRCS})
16 set_target_properties(elliptics_cpp_static PROPERTIES
17 OUTPUT_NAME elliptics_cpp
20 add_executable(dnet_cpp_test test.cpp)
21 target_link_libraries(dnet_cpp_test elliptics_cpp)
23 install(TARGETS elliptics_cpp elliptics_cpp_static
24 LIBRARY DESTINATION lib${LIB_SUFFIX}
25 ARCHIVE DESTINATION lib${LIB_SUFFIX}
26 BUNDLE DESTINATION library