engine/CMakePresets.json

59 lines
1.7 KiB
JSON
Raw Normal View History

2024-06-04 22:31:22 +00:00
{
"version": 3,
"configurePresets": [
{
"name": "windows-base",
"description": "Target Windows with the Visual Studio development environment.",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-debug",
"displayName": "x64 Debug",
2024-07-29 17:58:33 +00:00
"description": "No optimisation, hot reloading enabled, generate debug symbols",
2024-06-04 22:31:22 +00:00
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
2024-07-29 17:58:33 +00:00
"ENGINETEST_BUILD_WIN32_APP": "OFF",
"ENGINE_HOT_RELOAD": "ON"
2024-06-04 22:31:22 +00:00
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
2024-07-29 17:58:33 +00:00
"description": "Optimisation on, hot reloading enabled, generate debug symbols",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"ENGINETEST_BUILD_WIN32_APP": "OFF",
"ENGINE_HOT_RELOAD": "ON"
}
},
{
"name": "x64-dist",
"displayName": "x64 Distribution Build",
"description": "Optimisation on, hot reloading disabled, no symbols",
2024-06-04 22:31:22 +00:00
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
2024-07-29 17:58:33 +00:00
"ENGINETEST_BUILD_WIN32_APP": "ON",
"ENGINE_HOT_RELOAD": "OFF"
2024-06-04 22:31:22 +00:00
}
}
]
}