mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
(actually) fix broken MS2022 behavior
a recent Visual Studio update introduced an error unless there is a CMakePresets.json file present, completely blowing up the previous setup. after this commit, you should either delete the CMakeUserPresets.json file from your root or add it to your system - NOT repo! - excludesFile: https://stackoverflow.com/questions/7335420/global-git-ignore
This commit is contained in:
committed by
majcosta
parent
2424066aab
commit
98cdffe5fd
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "__userBase",
|
||||
"hidden": true,
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/build/${presetName}",
|
||||
"cacheVariables": {
|
||||
// Valid choices: ENGLISH;GERMAN;FRENCH;ITALIAN;POLISH;DUTCH;RUSSIAN;CHINESE. If empty (""), will configure all.
|
||||
"Languages": "ENGLISH",
|
||||
// Valid choices: JA2;JA2MAPEDITOR;JA2UB;JA2UBMAPEDITOR. If empty (""), will configure all.
|
||||
"Applications": "JA2",
|
||||
// For debugging: enter your desired gamedir. e.g. C:/Games/JA2
|
||||
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "."
|
||||
},
|
||||
"architecture": {
|
||||
"value": "x86",
|
||||
"strategy": "external"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "1dot13 RelWithDebInfo",
|
||||
"inherits": "__userBase",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "1dot13 Release",
|
||||
"inherits": "__userBase",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "1dot13 Debug",
|
||||
"inherits": "__userBase",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user