44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
|
{
|
||
|
"version": 10,
|
||
|
"cmakeMinimumRequired": {
|
||
|
"major": 3,
|
||
|
"minor": 23,
|
||
|
"patch": 0
|
||
|
},
|
||
|
"configurePresets": [
|
||
|
{
|
||
|
"name": "default",
|
||
|
"displayName": "Default Config",
|
||
|
"description": "Default build using Ninja generator",
|
||
|
"generator": "Ninja",
|
||
|
"binaryDir": "${sourceDir}/build/default",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_POLICY_DEFAULT_CMP0069": "NEW",
|
||
|
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
|
||
|
"CMAKE_C_FLAGS": "-O2 -march=native -g",
|
||
|
"CMAKE_CXX_FLAGS": "-O2 -march=native -g",
|
||
|
"BUILD_SOUNDTOUCH": "ON",
|
||
|
"DISABLE_GTK_UI": "ON",
|
||
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
||
|
},
|
||
|
"environment": {
|
||
|
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
|
||
|
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"buildPresets": [
|
||
|
{
|
||
|
"name": "default",
|
||
|
"configurePreset": "default"
|
||
|
}
|
||
|
],
|
||
|
"testPresets": [
|
||
|
{
|
||
|
"name": "default",
|
||
|
"configurePreset": "default",
|
||
|
"output": {"outputOnFailure": true},
|
||
|
"execution": {"noTestsAction": "error", "stopOnFailure": true}
|
||
|
}
|
||
|
]
|
||
|
}
|