Skip to content

Instantly share code, notes, and snippets.

@carloscm
Created April 29, 2026 13:59
Show Gist options
  • Select an option

  • Save carloscm/f01f7d11d927d726dcfaf2a11a279e75 to your computer and use it in GitHub Desktop.

Select an option

Save carloscm/f01f7d11d927d726dcfaf2a11a279e75 to your computer and use it in GitHub Desktop.
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "steamrt",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/steamrt",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc-14",
"CMAKE_CXX_COMPILER": "g++-14",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"NIMBY_VENDOR_TINYCC": "ON",
"NIMBY_SYSTEM_SDL3": "ON",
"NIMBY_SYSTEM_CURL": "ON",
"NIMBY_SYSTEM_ZLIB": "ON",
"NIMBY_RUNPATH_ORIGIN": "ON",
"NIMBY_STAGGING": "ON"
}
},
{
"name": "steamrt-debug",
"displayName": "SteamRT Debug",
"inherits": "steamrt",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "steamrt-release",
"displayName": "SteamRT Release",
"inherits": "steamrt",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "steamrt-relwithdebinfo",
"displayName": "SteamRT RelWithDebInfo",
"inherits": "steamrt",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "linux",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/linux",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"NIMBY_SYSTEM_TINYCC": "ON",
"NIMBY_SYSTEM_SDL3": "ON",
"NIMBY_SYSTEM_CURL": "ON",
"NIMBY_SYSTEM_ZLIB": "ON",
"NIMBY_STAGGING": "ON",
"NIMBY_WANT_NIMBYS": "ON",
"NIMBY_WANT_GEOBUILD": "ON"
}
},
{
"name": "linux-debug",
"displayName": "Linux Debug",
"inherits": "linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux-release",
"displayName": "Linux Release",
"inherits": "linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "linux-relwithdebinfo",
"displayName": "Linux RelWithDebInfo",
"inherits": "linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "win-msvc",
"displayName": "Win32 x64",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/win-msvc",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"NIMBY_PRECOMPILED_TINYCC": "ON",
"NIMBY_PRECOMPILED_SDL3": "ON",
"NIMBY_VENDOR_CURL": "ON",
"NIMBY_VENDOR_ZLIB": "ON",
"NIMBY_STAGGING": "ON",
"NIMBY_ALLOW_STEAM_RESTART": "ON"
}
}
],
"buildPresets": [
{ "name": "steamrt-debug-build", "configurePreset": "steamrt-debug", "jobs" : 12 },
{ "name": "steamrt-release-build", "configurePreset": "steamrt-release", "jobs" : 12 },
{ "name": "steamrt-relwithdebinfo-build", "configurePreset": "steamrt-relwithdebinfo", "jobs" : 12 },
{ "name": "linux-debug-build", "configurePreset": "linux-debug", "jobs" : 12 },
{ "name": "linux-release-build", "configurePreset": "linux-release", "jobs" : 12 },
{ "name": "linux-relwithdebinfo-build", "configurePreset": "linux-relwithdebinfo", "jobs" : 12 },
{ "name": "win-msvc-debug", "configurePreset": "win-msvc", "configuration": "Debug" },
{ "name": "win-msvc-release", "configurePreset": "win-msvc", "configuration": "Release" },
{ "name": "win-msvc-relwithdebinfo", "configurePreset": "win-msvc", "configuration": "RelWithDebInfo" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment