xo-arena: nix-build works, including utest
This commit is contained in:
parent
49decd246d
commit
1a5aae6a17
1 changed files with 5 additions and 7 deletions
|
|
@ -6,12 +6,10 @@ set(SELF_SOURCE_FILES
|
|||
filename.test.cpp code_location.test.cpp function.test.cpp pretty_vector.test.cpp
|
||||
indentlog_utest_main.cpp log_streambuf.test.cpp toppstr.test.cpp cond.test.cpp)
|
||||
|
||||
xo_add_utest_executable(${SELF_EXECUTABLE_NAME} ${SELF_SOURCE_FILES})
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# 3rd party dependency: catch2
|
||||
|
||||
xo_self_dependency(${SELF_EXECUTABLE_NAME} indentlog)
|
||||
xo_external_target_dependency(${SELF_EXECUTABLE_NAME} Catch2 Catch2::Catch2)
|
||||
if (ENABLE_TESTING)
|
||||
xo_add_utest_executable(${SELF_EXECUTABLE_NAME} ${SELF_SOURCE_FILES})
|
||||
xo_self_dependency(${SELF_EXECUTABLE_NAME} indentlog)
|
||||
xo_external_target_dependency(${SELF_EXECUTABLE_NAME} Catch2 Catch2::Catch2)
|
||||
endif()
|
||||
|
||||
# end CMakeLists.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue