Files
pixelarium/CMakePresets.json
T

77 lines
1.6 KiB
JSON
Raw Normal View History

2025-08-18 22:39:43 +00:00
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
2025-09-13 14:49:59 +02:00
"hidden": true,
2025-08-18 22:39:43 +00:00
"generator": "Ninja",
"binaryDir": "build",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"FETCHCONTENT_FULLY_DISCONNECTED": "OFF"
}
},
{
"name": "clang-release",
"inherits": "default",
2025-09-13 14:49:59 +02:00
"binaryDir": "build/clang-release",
2025-08-18 22:39:43 +00:00
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "clang-debug",
2025-09-13 14:49:59 +02:00
"binaryDir": "build/clang-debug",
2025-08-18 22:39:43 +00:00
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "gcc-release",
"inherits": "default",
2025-09-13 14:49:59 +02:00
"binaryDir": "build/gcc-release",
2025-08-18 22:39:43 +00:00
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "gcc-debug",
"inherits": "default",
2025-09-13 14:49:59 +02:00
"binaryDir": "build/gcc-debug",
2025-08-18 22:39:43 +00:00
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "default",
2025-09-13 14:49:59 +02:00
"hidden": true,
"configurePreset": "clang-debug",
2025-08-18 22:39:43 +00:00
"jobs": 10
},
{
"name": "release",
"inherits": "default",
"configuration": "Release"
},
{
"name": "debug",
"inherits": "default",
"configuration": "Debug"
}
]
}