1515 "ENABLE_PORTCE_DEMO" : " ON"
1616 }
1717 },
18+ {
19+ "name" : " native-clang20" ,
20+ "displayName" : " Native (PortCE + SDL2, clang-20)" ,
21+ "description" : " Build for host system with PortCE demo and tests using clang-20" ,
22+ "generator" : " Ninja" ,
23+ "binaryDir" : " ${sourceDir}/build/native-clang20" ,
24+ "cacheVariables" : {
25+ "CMAKE_C_COMPILER" : " /usr/bin/clang-20" ,
26+ "CMAKE_CXX_COMPILER" : " /usr/bin/clang++-20" ,
27+ "CMAKE_BUILD_TYPE" : " Debug" ,
28+ "ENABLE_HOST_TESTS" : " ON" ,
29+ "ENABLE_PORTCE_DEMO" : " ON"
30+ }
31+ },
32+ {
33+ "name" : " native-asan-clang20" ,
34+ "displayName" : " Native (PortCE + SDL2, ASAN/LSAN, clang-20)" ,
35+ "description" : " Build for host system with sanitizers enabled (useful for leak/UB detection)" ,
36+ "generator" : " Ninja" ,
37+ "binaryDir" : " ${sourceDir}/build/native-asan-clang20" ,
38+ "cacheVariables" : {
39+ "CMAKE_C_COMPILER" : " /usr/bin/clang-20" ,
40+ "CMAKE_CXX_COMPILER" : " /usr/bin/clang++-20" ,
41+ "CMAKE_BUILD_TYPE" : " Debug" ,
42+ "ENABLE_HOST_TESTS" : " ON" ,
43+ "ENABLE_PORTCE_DEMO" : " ON" ,
44+ "ENABLE_STRICT_WARNINGS" : " OFF" ,
45+ "ENABLE_CLANG_TIDY" : " OFF" ,
46+ "CMAKE_C_FLAGS" : " -fsanitize=address -fno-omit-frame-pointer" ,
47+ "CMAKE_CXX_FLAGS" : " -fsanitize=address -fno-omit-frame-pointer" ,
48+ "CMAKE_EXE_LINKER_FLAGS" : " -fsanitize=address"
49+ }
50+ },
1851 {
1952 "name" : " wasm" ,
2053 "displayName" : " WebAssembly (Emscripten)" ,
3770 "displayName" : " Build Native" ,
3871 "configurePreset" : " native"
3972 },
73+ {
74+ "name" : " native-clang20" ,
75+ "displayName" : " Build Native (clang-20)" ,
76+ "configurePreset" : " native-clang20"
77+ },
78+ {
79+ "name" : " native-asan-clang20" ,
80+ "displayName" : " Build Native (ASAN/LSAN, clang-20)" ,
81+ "configurePreset" : " native-asan-clang20"
82+ },
4083 {
4184 "name" : " wasm" ,
4285 "displayName" : " Build WebAssembly" ,
4386 "configurePreset" : " wasm"
4487 }
4588 ]
46- }
89+ }
0 commit comments