ASAN on Windows

This commit is contained in:
2026-02-21 16:50:48 +01:00
committed by Romain BOULLARD
parent cec23c8c02
commit 842ff8963c
8 changed files with 59 additions and 10 deletions

View File

@@ -1,5 +1,15 @@
cmake_minimum_required(VERSION 3.24)
foreach(config DEBUG RELWITHDEBINFO)
foreach(lang EXE SHARED MODULE)
if("${CMAKE_${lang}_LINKER_FLAGS_${config}}" MATCHES "/INCREMENTAL:NO")
string(REGEX REPLACE "/INCREMENTAL([^:]|$)" ""
CMAKE_${lang}_LINKER_FLAGS_${config}
"${CMAKE_${lang}_LINKER_FLAGS_${config}}")
endif()
endforeach()
endforeach()
project(Bin2CPP VERSION 0.1.0
DESCRIPTION "Bin2CPP"
LANGUAGES CXX)