2024-10-26 09:01:06 -07:00
|
|
|
{
|
2024-11-12 14:53:44 -08:00
|
|
|
"version": 9,
|
2024-10-26 09:01:06 -07:00
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
"major": 3,
|
|
|
|
"minor": 23,
|
|
|
|
"patch": 0
|
|
|
|
},
|
|
|
|
"configurePresets": [
|
2024-11-12 14:53:44 -08:00
|
|
|
{
|
|
|
|
"name": "fastbuild",
|
2024-12-08 11:01:04 -08:00
|
|
|
"binaryDir": "${sourceDir}/build/fastbuild",
|
2024-11-12 14:53:44 -08:00
|
|
|
"displayName": "Fast building config",
|
|
|
|
"description": "Build with optimization for speed of building",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_POLICY_DEFAULT_CMP0069": "NEW",
|
|
|
|
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "OFF",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
2024-12-08 11:01:04 -08:00
|
|
|
{
|
|
|
|
"name": "smallbuild",
|
|
|
|
"displayName": "Small building config",
|
|
|
|
"description": "Build with optimization for size",
|
|
|
|
"binaryDir": "${sourceDir}/build/smallbuild",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_POLICY_DEFAULT_CMP0069": "NEW",
|
|
|
|
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
|
|
|
|
"CMAKE_C_FLAGS": "-Os",
|
|
|
|
"CMAKE_CXX_FLAGS": "-Os",
|
|
|
|
"BUILD_SOUNDTOUCH": "ON",
|
|
|
|
"DISABLE_GTK_UI": "ON",
|
|
|
|
"DISABLE_QT_UI": "ON",
|
|
|
|
"DISABLE_HAIKU_UI": "ON",
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
},
|
|
|
|
"environment": {
|
|
|
|
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
|
|
|
|
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache"
|
|
|
|
}
|
|
|
|
},
|
2024-10-26 09:01:06 -07:00
|
|
|
{
|
|
|
|
"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"
|
2024-11-12 14:53:44 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "fast",
|
|
|
|
"configurePreset": "fastbuild"
|
2024-10-26 09:01:06 -07:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"testPresets": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"configurePreset": "default",
|
|
|
|
"output": {"outputOnFailure": true},
|
|
|
|
"execution": {"noTestsAction": "error", "stopOnFailure": true}
|
|
|
|
}
|
|
|
|
]
|
2024-11-12 14:53:44 -08:00
|
|
|
}
|