mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
ship CMakePresets.json instead of copying a template
Co-Authored-By: Grok 4.6 <noreply@x.ai>
This commit is contained in:
committed by
majcosta
co-authored by
Grok 4.6
parent
c9100aacee
commit
69764e4459
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user