Lots of work on build-everything

This commit is contained in:
2025-06-06 19:12:32 -04:00
parent e26739a0ac
commit 61209d4c2f
4 changed files with 192 additions and 215 deletions

View File

@@ -1,38 +1,23 @@
{
"macros": {
"macros-explanation" : [
"We have written a simple macro preprocessor for json.",
"The following macros can be invoked from later in the json",
"file. The macro preprocessing is done as part of the",
"python script build-everything.py"
],
"luprex-launch-config" : {
"name": "Server=SERVER",
"request": "launch",
"program": "UNREALENGINE/Engine/Binaries/Linux/UnrealEditor-Linux-DebugGame",
"preLaunchTask": "Make All",
"args": [
"INTEGRATION/Integration.uproject",
"-userdir=User/USERNAME",
"-LuprexServer=SERVER"
],
"cwd": "INTEGRATION",
"type": "lldb",
"initCommands": [
"command script import UNREALENGINE/Engine/Extras/LLDBDataFormatters/UEDataFormatters_2ByteChars.py",
"settings set target.inline-breakpoint-strategy always",
"target stop-hook add --one-liner \"p ::UngrabAllInputImpl()\""
]
}
},
"about-the-build-system": [
"",
"The unreal build system generates Integration.code-workspace.",
"That generated file is no good. Instead, we generate our own,",
"as part of build-everything.py",
"",
"Don't edit Integration.code-worspace, instead, edit",
"Integration.code-workspace.tpl.json, and then run",
"build-everything.py to rebuild.",
""
],
"folders": [
{
"name": "Integration",
"path": "INTEGRATION"
"path": "[INTEGRATION]"
},
{
"name": "UE5",
"path": "UNREALENGINE"
"path": "[UNREALENGINE]"
}
],
"settings": {
@@ -93,15 +78,29 @@
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"macro": "luprex-launch-config",
"vars": { "SERVER":"Standalone"}
},
{
"macro": "luprex-launch-config",
"vars": { "SERVER":"192.168.0.100"}
"configurations": {
"for-each": [
{ "SERVER" : "Standalone" },
{ "SERVER" : "192.168.0.100" }
],
"body": {
"name": "Server=[SERVER]",
"request": "launch",
"program": "[UNREALENGINE]/Engine/Binaries/Linux/UnrealEditor-Linux-DebugGame",
"preLaunchTask": "Make All",
"args": [
"[INTEGRATION]/Integration.uproject",
"-userdir=User/[USER]",
"-LuprexServer=[SERVER]"
],
"cwd": "[INTEGRATION]",
"type": "lldb",
"initCommands": [
"command script import [UNREALENGINE]/Engine/Extras/LLDBDataFormatters/UEDataFormatters_2ByteChars.py",
"settings set target.inline-breakpoint-strategy always",
"target stop-hook add --one-liner \"p ::UngrabAllInputImpl()\""
]
}
]
}
}
}