DarkflameServer/CMakePresets.json

170 lines
4.9 KiB
JSON
Raw Normal View History

{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 14,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default configure step",
"description": "Use 'build' dir and Unix makefiles",
"binaryDir": "${sourceDir}/build",
"generator": "Unix Makefiles"
2022-01-05 09:06:34 +00:00
},
{
2024-01-20 23:19:31 +00:00
"name": "ci-ubuntu-22.04",
"displayName": "CI configure step for Ubuntu",
"description": "Same as default, Used in GitHub actions workflow",
2024-02-03 22:02:53 +00:00
"inherits": "default",
2024-02-04 22:26:38 +00:00
"cacheVariables": {
2024-02-03 22:02:53 +00:00
"CMAKE_BUILD_TYPE": "Release",
2024-02-04 22:26:38 +00:00
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "debug-ubuntu-22.04",
"displayName": "Debug configure step for Ubuntu",
"description": "Used to generate debug configuration for Ubuntu",
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
2024-02-03 22:02:53 +00:00
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
2024-02-04 22:26:38 +00:00
"CMAKE_CXX_FLAGS_INIT" : "-Og",
"CMAKE_C_FLAGS_INIT" : "-Og"
2024-02-03 22:02:53 +00:00
}
},
{
"name": "ci-macos-13",
"displayName": "CI configure step for MacOS",
"description": "Same as default, Used in GitHub actions workflow",
Update README (#806) * Update README The README is very out of date, the following changes have been made - Update what the file tree should look like - Remove client Avant Gardens Survival script fix - Update some incorrect commands or commands that were missing packages. - Add packed client setup instructions - Add *config.ini setup instructions - Describe what configs should be modified and what you may want to change - More detail in the verify step - Change Account Manager link to Nexus Dashboard - Remove table of commands and reference Commands.md instead - Specify that UGCSERVERIP may need to be changed to localhost as well * Fix Avant Gardens Survival This addresses the Avant Gardens Survival bug. Squeezing it in with the README changes since it is a small change. * Remove Locale * Update README.md Co-authored-by: Jonathan Romano <jonathan@luxaritas.com> * Remove dLocale again? * Saving for the night * Revert "Fix Avant Gardens Survival" This reverts commit b1a1ce2d84e870c328a039673c9b77859e6e3dbd. * Update Mission.cpp * Update README.md Move comments and add pre-processor define Update README.md Update README.md Update CMakePresets.json Update CMakeVariables.txt Update README.md i love readmes Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md * Update README.md Co-authored-by: Daniel Seiler <me@xiphoseer.de> * Address feedback * Update README.md * Update Database.cpp * Update README.md * Revert tcp specification Co-authored-by: Jonathan Romano <jonathan@luxaritas.com> Co-authored-by: Aaron Kimbrell <aronwk.aaron@gmail.com> Co-authored-by: Daniel Seiler <me@xiphoseer.de>
2022-12-28 21:58:53 +00:00
"inherits": "default"
},
{
"name": "ci-windows-2022",
"displayName": "CI configure step for Windows",
"description": "Set architecture to 64-bit (b/c RakNet)",
"inherits": "default",
"generator": "Visual Studio 17 2022",
"architecture": {
"value": "x64"
},
2024-01-31 01:33:59 +00:00
"cacheVariables": {
2024-01-31 03:49:24 +00:00
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CXX_FLAGS_INIT": "/O2 /Zc:inline"
}
},
{
"name": "windows-default",
"inherits": "ci-windows-2022",
"displayName": "Windows only Configure Settings",
"description": "Sets build and install directories",
"generator": "Ninja",
"architecture": {
"value": "x64",
"strategy": "external"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default",
"displayName": "Default Build",
"description": "Default Build",
2022-01-05 09:06:34 +00:00
"jobs": 2
},
2024-02-04 22:26:38 +00:00
{
"name": "ci-ubuntu-22.04",
"configurePreset": "ci-ubuntu-22.04",
"displayName": "Linux CI Build",
"description": "This preset is used by the CI build on linux",
"configuration": "Release",
"jobs": 2
},
{
"name": "debug-ubuntu-22.04",
"configurePreset": "debug-ubuntu-22.04",
"displayName": "Linux Debug Build ",
"description": "This preset is used to debug the build on linux",
"configuration": "Debug",
"jobs": 2
},
{
"name": "ci-windows-2022",
"configurePreset": "ci-windows-2022",
"displayName": "Windows CI Build",
"description": "This preset is used by the CI build on windows",
2024-01-31 03:49:24 +00:00
"configuration": "Release",
"jobs": 2
},
{
"name": "ci-macos-13",
"configurePreset": "ci-macos-13",
"displayName": "MacOS CI Build",
"description": "This preset is used by the CI build on MacOS",
"jobs": 2
}
],
"testPresets": [
{
2024-01-20 23:19:31 +00:00
"name": "ci-ubuntu-22.04",
"configurePreset": "ci-ubuntu-22.04",
"displayName": "CI Tests on Linux",
"description": "Runs all tests on a linux configuration",
2024-02-04 22:26:38 +00:00
"configuration": "Release",
"execution": {
"jobs": 2
},
"output": {
"outputOnFailure": true
}
},
{
"name": "debug-ubuntu-22.04",
"configurePreset": "debug-ubuntu-22.04",
"displayName": "Debug Tests on Linux",
"description": "Runs all tests on a linux configuration",
"configuration": "Debug",
"execution": {
"jobs": 2
},
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-macos-13",
"configurePreset": "ci-macos-13",
"displayName": "CI Tests on MacOS",
"description": "Runs all tests on a Mac configuration",
2024-02-04 22:26:38 +00:00
"execution": {
"jobs": 2
},
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-windows-2022",
"configurePreset": "ci-windows-2022",
"displayName": "CI Tests on windows",
"description": "Runs all tests on a windows configuration",
2024-02-04 22:26:38 +00:00
"configuration": "RelWithDebInfo",
"execution": {
"jobs": 2
},
"output": {
"outputOnFailure": true
},
2024-02-04 22:26:38 +00:00
"filter": {
"exclude": {
"name": "((example)|(minigzip))+"
}
}
2022-01-03 15:25:47 +00:00
}
]
}