Fixes in test runner
This commit is contained in:
parent
1246985763
commit
aeec694443
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ if(PSEMEK_BUILD_TESTS)
|
|||
add_executable(psemek-run-tests source/main.cpp include/psemek/test/test.hpp)
|
||||
set(PSEMEK_TESTS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
target_include_directories(psemek-run-tests PUBLIC "${PSEMEK_TESTS_INCLUDE_DIR}")
|
||||
target_link_libraries(psemek-run-tests PUBLIC psemek-log)
|
||||
target_compile_options(psemek-run-tests PUBLIC -Wno-restrict)
|
||||
|
||||
function(psemek_glob_tests lib dir)
|
||||
file(GLOB_RECURSE _PSEMEK_ADD_TESTS_SOURCES "${dir}/*.cpp")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue