mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
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
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|