kgg-dec/CMakePresets.json

89 lines
2.2 KiB
JSON
Raw Permalink Normal View History

2024-10-17 00:50:14 +00:00
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"hidden": true,
2024-12-21 04:23:44 +00:00
"generator": "Ninja Multi-Config",
2024-10-17 00:50:14 +00:00
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "mingw",
"inherits": "default",
"description": "Configure for MinGW",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/mingw",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_C_COMPILER": "i686-w64-mingw32-gcc-win32",
"CMAKE_CXX_COMPILER": "i686-w64-mingw32-g++-win32",
"CMAKE_FIND_LIBRARY_SUFFIXES": ".a",
"BUILD_SHARED_LIBS": "OFF",
"CMAKE_EXE_LINKER_FLAGS": "-static -static-libgcc -static-libstdc++ -lucrt"
}
},
2024-12-21 04:23:44 +00:00
{
"name": "ninja",
"inherits": "default",
"description": "Default Ninja Configuration",
"binaryDir": "${sourceDir}/build/default"
},
2024-10-17 00:50:14 +00:00
{
"name": "vs",
"inherits": "default",
"description": "Configure for Visual Studio",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/vs2022",
2024-12-20 19:42:16 +00:00
"architecture": "x64,version=10.0",
"toolset": {
"value": "v143"
}
2024-10-17 00:50:14 +00:00
}
],
"buildPresets": [
{
"name": "mingw-debug",
"configurePreset": "mingw",
"description": "Build using MinGW (Debug)",
"configuration": "Debug"
},
{
"name": "mingw-release",
"configurePreset": "mingw",
"description": "Build using MinGW (Release)",
"configuration": "Release"
},
2024-12-21 04:23:44 +00:00
{
"name": "ninja-debug",
"configurePreset": "ninja",
"description": "Build using Ninja (Debug)",
"configuration": "Debug"
},
{
"name": "ninja-release",
"configurePreset": "ninja",
"description": "Build using Ninja (Release)",
"configuration": "Release"
},
2024-10-17 00:50:14 +00:00
{
"name": "vs-debug",
"configurePreset": "vs",
"description": "Build using VS (Debug)",
"configuration": "Debug"
},
{
"name": "vs-release",
"configurePreset": "vs",
"description": "Build using VS (Release)",
"configuration": "Release"
}
]
}