Mold/Ninja through conan

This commit is contained in:
2026-04-26 22:16:42 +02:00
parent 3fbb05a9bb
commit 742af1ae59
20 changed files with 205 additions and 151 deletions

View File

@@ -0,0 +1,9 @@
include_guard()
find_program(MOLD_PROGRAM mold)
if (MOLD_PROGRAM)
set(CMAKE_LINKER_TYPE MOLD)
message(STATUS "mold linker found: ${MOLD_PROGRAM}")
else ()
message(WARNING "mold linker not found")
endif ()