Testing module

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-04-29 22:49:33 +03:00
1 parent 4fc129fb7e
commit e7186f17f0
42 files changed
+1816 -413

No files matched your search

+9 -1
View File
@@ -4,11 +4,19 @@ include(CMakeFindDependencyMacro)
set(_void_external_deps "@VOID_EXTERNAL_DEPS_LIST@")
foreach(dep IN LISTS _void_external_deps)
if(NOT TARGET ${dep})
if(dep STREQUAL "Boost")
find_dependency(Boost REQUIRED COMPONENTS stacktrace_backtrace)
elseif(NOT TARGET ${dep})
find_dependency(${dep})
endif()
endforeach()
include("${CMAKE_CURRENT_LIST_DIR}/@EXPORT_SET_NAME@.cmake")
# Auto-load the testing helper so consumers get void_add_tests + the
# auto-scan sweep just by find_package(Void).
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/VoidTesting.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/VoidTesting.cmake")
endif()
check_required_components("@PROJECT_NAME@")