build: use simplified cmake macro api
This commit is contained in:
parent
ef1e0b0371
commit
b5dc259687
1 changed files with 2 additions and 3 deletions
|
|
@ -36,13 +36,12 @@ add_subdirectory(utest)
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
# header-only library
|
# header-only library
|
||||||
|
|
||||||
set(SELF_SHORTNAME ordinaltree)
|
set(SELF_LIB xo_ordinaltree)
|
||||||
set(SELF_LIB xo_${SELF_SHORTNAME})
|
|
||||||
xo_add_headeronly_library(${SELF_LIB})
|
xo_add_headeronly_library(${SELF_LIB})
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
#
|
#
|
||||||
xo_install_library5(${SELF_LIB} ${SELF_SHORTNAME} ${PROJECT_NAME}Targets)
|
xo_install_library4(${SELF_LIB} ${PROJECT_NAME}Targets)
|
||||||
# (note: ..Targets from xo_install_library2())
|
# (note: ..Targets from xo_install_library2())
|
||||||
xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
|
xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue