mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-25 17:32:27 +00:00
"default" preset - build with Ninja - enables GCC color diagonstics under Ninja - uses /build dir - enables DEVELOP build - compiles with optimizations and debug symbols "debug" preset - compiles without optimizations - enables further debug info
31 lines
620 B
JSON
31 lines
620 B
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"description": "Build using Ninja",
|
|
"generator": "Ninja",
|
|
"binaryDir": "build",
|
|
"cacheVariables": {
|
|
"CMAKE_C_FLAGS": "-fdiagnostics-color",
|
|
"CMAKE_CXX_FLAGS": "-fdiagnostics-color",
|
|
"SRB2_CONFIG_DEV_BUILD": "ON",
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"description": "Build for development (no optimizations)",
|
|
"inherits": "default",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "default",
|
|
"configurePreset": "default"
|
|
}
|
|
]
|
|
}
|