mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 20,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"description": "Applications is JA2|JA2MAPEDITOR|JA2UB|JA2UBMAPEDITOR|empty(all 4); override CMAKE_RUNTIME_OUTPUT_DIRECTORY in CMakeUserPresets.json to debug another install.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"architecture": {
|
|
"value": "x86",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "${sourceDir}/gamedir"
|
|
}
|
|
},
|
|
{
|
|
"name": "msvc",
|
|
"hidden": true,
|
|
"inherits": "base",
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"hostOS": [ "Windows" ],
|
|
"intelliSenseMode": "windows-msvc-x86"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "msvc-relwithdebinfo",
|
|
"inherits": "msvc",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "msvc-debug",
|
|
"inherits": "msvc",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "msvc-release",
|
|
"inherits": "msvc",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{ "name": "msvc-relwithdebinfo", "configurePreset": "msvc-relwithdebinfo" },
|
|
{ "name": "msvc-debug", "configurePreset": "msvc-debug" },
|
|
{ "name": "msvc-release", "configurePreset": "msvc-release" }
|
|
]
|
|
}
|