build: add compiler, reflection, and sanitizer capability probes (X-BASE-04)

This commit is contained in:
faumaray committed 2026-11-24 02:34:11 +03:00
1 parent cd6fc7e5f5
commit c64fa93373
3 files changed
+120

No files matched your search

+4
View File
@@ -11,6 +11,7 @@ option(VOID_ENABLE_TESTING "Build the test suite" ON)
option(VOID_WARNINGS_AS_ERRORS "Treat compiler warnings as errors" OFF)
option(VOID_ENABLE_ASAN "Enable AddressSanitizer (Clang/GCC)" OFF)
option(VOID_ENABLE_UBSAN "Enable UndefinedBehaviorSanitizer (Clang/GCC)" OFF)
option(VOID_ENABLE_TSAN "Enable ThreadSanitizer (Clang/GCC)" OFF)
option(VOID_ENABLE_COVERAGE "Enable code coverage instrumentation" OFF)
set(CMAKE_CXX_STANDARD 26)
@@ -28,6 +29,8 @@ include(CMakePackageConfigHelpers)
set(EXPORT_SET_NAME ${PROJECT_NAME}Targets)
include(cmake/Capabilities.cmake)
void_probe_capabilities()
include(cmake/Module.cmake)
# Modules to configure, with the modules they need (INTERNAL_DEPS, followed
@@ -80,6 +83,7 @@ foreach(module_path ${children})
endif()
endforeach()
void_finalize_modules()
void_report_capabilities()
if(VOID_ENABLE_TESTING)
enable_testing()