Update
CI / GCC 16 / C++26 / default (pull_request) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (pull_request) Has been cancelled
CI / GCC 16 / C++26 / werror (pull_request) Has been cancelled

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-12 02:37:49 +03:00
1 parent 9a54f15e7e
commit f94366104e
7 files changed
+100 -13

No files matched your search

+9 -7
View File
@@ -23,13 +23,15 @@ function(void_add_module MODULE_NAME)
add_library(${TGT} INTERFACE)
target_compile_features(${TGT} INTERFACE cxx_std_26)
else()
set(LIB_TYPE "SHARED")
set(SCOPE "PUBLIC")
if (MODULE_NAME STREQUAL "Testing")
add_library(${TGT} STATIC)
else()
add_library(${TGT} SHARED)
endif()
set(SCOPE "PUBLIC")
if (MODULE_NAME STREQUAL "Testing")
add_library(${TGT} STATIC)
else()
# Honour the standard BUILD_SHARED_LIBS policy. Consumers that ship a
# single validated executable must be able to embed Void modules,
# while Void's standalone default remains shared.
add_library(${TGT})
endif()
target_sources(${TGT} PRIVATE ${SRC})
target_compile_features(${TGT} PUBLIC cxx_std_26)
endif()