xo-ratio: streamline example+utest build
This commit is contained in:
parent
63b4255dae
commit
ae69a418ff
4 changed files with 17 additions and 58 deletions
|
|
@ -3,13 +3,10 @@
|
|||
set(SELF_EXE xo_ratio_ex1)
|
||||
set(SELF_SRCS ex1.cpp)
|
||||
|
||||
add_executable(${SELF_EXE} ${SELF_SRCS})
|
||||
xo_include_options2(${SELF_EXE})
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# dependencies..
|
||||
|
||||
xo_self_dependency(${SELF_EXE} xo_ratio)
|
||||
#xo_dependency(${SELF_EXE} reflect)
|
||||
if (XO_ENABLE_EXAMPLES)
|
||||
add_executable(${SELF_EXE} ${SELF_SRCS})
|
||||
xo_include_options2(${SELF_EXE})
|
||||
xo_self_dependency(${SELF_EXE} xo_ratio)
|
||||
endif()
|
||||
|
||||
# end CMakeLists.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue