refcnt: use xo_add_shared_library() from xo-cmake
This commit is contained in:
parent
277935c25e
commit
4e0c8e92f2
1 changed files with 1 additions and 10 deletions
|
|
@ -1,14 +1,5 @@
|
||||||
set(SELF_LIBRARY_NAME refcnt)
|
set(SELF_LIBRARY_NAME refcnt)
|
||||||
set(SELF_SOURCE_FILES Refcounted.cpp Displayable.cpp)
|
set(SELF_SOURCE_FILES Refcounted.cpp Displayable.cpp)
|
||||||
add_library(${SELF_LIBRARY_NAME} SHARED ${SELF_SOURCE_FILES})
|
|
||||||
|
|
||||||
set_target_properties(${SELF_LIBRARY_NAME}
|
|
||||||
PROPERTIES
|
|
||||||
VERSION ${PROJECT_VERSION}
|
|
||||||
SOVERSION 1)
|
|
||||||
|
|
||||||
|
xo_add_shared_library(${SELF_LIBRARY_NAME} ${PROJECT_VERSION} 1 ${SELF_SOURCE_FILES})
|
||||||
xo_internal_dependency(${SELF_LIBRARY_NAME} indentlog)
|
xo_internal_dependency(${SELF_LIBRARY_NAME} indentlog)
|
||||||
|
|
||||||
xo_include_options2(${SELF_LIBRARY_NAME})
|
|
||||||
xo_compile_options(${SELF_LIBRARY_NAME})
|
|
||||||
xo_install_library2(${SELF_LIBRARY_NAME})
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue