Files
L4D2Fix/cmake/presets/linux.json
T
2024-12-02 12:07:36 +08:00

78 lines
2.0 KiB
JSON

{
"version": 6,
"include": [ "base.json" ],
"configurePresets": [
{
"name": "config-base-linux",
"displayName": "base Configuration for linux",
"inherits": "config-base",
"hidden": true,
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "x64-debug",
"inherits": "config-base-linux",
"generator": "Ninja",
"architecture":{
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE" : "Debug"
}
},
{
"name": "x64-release",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE" : "Release"
}
},
{
"name": "x86-debug",
"inherits": "config-base-linux",
"generator": "Ninja",
"architecture":{
"value": "x86",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE" : "Debug",
"CMAKE_C_FLAGS": "-m32",
"CMAKE_CXX_FLAGS": "-m32",
"CMAKE_SYSTEM_PROCESSOR": "x86"
}
},
{
"name": "x86-release",
"inherits": "x86-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE" : "Release"
}
}
],
"buildPresets": [
{
"name": "x64-debug",
"configurePreset": "x64-debug"
},
{
"name": "x64-release",
"configurePreset": "x64-release"
},
{
"name": "x86-debug",
"configurePreset": "x86-debug"
},
{
"name": "x86-release",
"configurePreset": "x86-release"
}
],
"testPresets": [ ]
}