diff options
| author | mariuslozo-boop <254631011+mariuslozo-boop@users.noreply.github.com> | 2026-11-23 06:56:08 +0100 |
|---|---|---|
| committer | mariuslozo-boop <254631011+mariuslozo-boop@users.noreply.github.com> | 2026-11-23 06:56:08 +0100 |
| commit | 45c39cf6f4148aebbc8a88d476bea755887d35bd (patch) | |
| tree | 77036044f0dbbf2effc7756515646dbb8271e413 /scripts | |
| parent | 81b99fd28a8ec3a15d96506217cdfcdaf87abeb3 (diff) | |
| parent | ec34b54fe137c9a52e89c07273e52ad702488185 (diff) | |
Merge remote-tracking branch 'origin/main' into rt/directstorage
# Conflicts:
# scripts/build_runtime.ps1
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build_runtime.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build_runtime.ps1 b/scripts/build_runtime.ps1 index 813a8a390..9b39aedfc 100644 --- a/scripts/build_runtime.ps1 +++ b/scripts/build_runtime.ps1 | |||
| @@ -38,7 +38,7 @@ if ((Test-Path $cmake) -and (Test-Path $ninja)) { | |||
| 38 | Write-Warning "VS C++ CMake tools not found: building with cl.exe directly, without the GameInput shim (SDL3). Install the CMake tools component to get it." | 38 | Write-Warning "VS C++ CMake tools not found: building with cl.exe directly, without the GameInput shim (SDL3). Install the CMake tools component to get it." |
| 39 | $xtaskqueueDir = Join-Path $root "third_party\xtaskqueue" | 39 | $xtaskqueueDir = Join-Path $root "third_party\xtaskqueue" |
| 40 | $xtaskqueueFiles = "Source\Task\TaskQueue.cpp", "Source\Task\AsyncLib.cpp", "Source\Task\ThreadPool_win32.cpp", "Source\Task\WaitTimer_win32.cpp" | ForEach-Object { "`"$xtaskqueueDir\$_`"" } | 40 | $xtaskqueueFiles = "Source\Task\TaskQueue.cpp", "Source\Task\AsyncLib.cpp", "Source\Task\ThreadPool_win32.cpp", "Source\Task\WaitTimer_win32.cpp" | ForEach-Object { "`"$xtaskqueueDir\$_`"" } |
| 41 | $files = "src\main.cpp", "src\pe_loader.cpp", "shims\registry.cpp", "shims\file_system.cpp", "shims\xmem.cpp", "shims\d3d12_xs.cpp", "shims\d3d12_xs_device.cpp", "shims\d3d12_xs_rootsig.cpp", "shims\xgameruntime.cpp", "shims\xgameruntime_user.cpp", "shims\xgameruntime_gamesave.cpp", "shims\xgameruntime_store.cpp", "shims\winhttp_offline.cpp", "shims\library_loader.cpp", "shims\process.cpp", "shims\dstorage.cpp" | ForEach-Object { "`"$src\$_`"" } | 41 | $files = "src\main.cpp", "src\pe_loader.cpp", "shims\registry.cpp", "shims\file_system.cpp", "shims\xmem.cpp", "shims\d3d12_xs.cpp", "shims\d3d12_xs_device.cpp", "shims\d3d12_xs_rootsig.cpp", "shims\xgameruntime.cpp", "shims\xgameruntime_user.cpp", "shims\xgameruntime_gamesave.cpp", "shims\xgameruntime_store.cpp", "shims\xgameruntime_offline.cpp", "shims\winhttp_offline.cpp", "shims\library_loader.cpp", "shims\process.cpp", "shims\dstorage.cpp" | ForEach-Object { "`"$src\$_`"" } |
| 42 | $includes = "/I `"$src\src`" /I `"$src\shims`" /I `"$src\shims\xtaskqueue`" /I `"$xtaskqueueDir\Include`" /I `"$xtaskqueueDir\Source\Task`" /I `"$xtaskqueueDir\Source\Common`"" | 42 | $includes = "/I `"$src\src`" /I `"$src\shims`" /I `"$src\shims\xtaskqueue`" /I `"$xtaskqueueDir\Include`" /I `"$xtaskqueueDir\Source\Task`" /I `"$xtaskqueueDir\Source\Common`"" |
| 43 | $opt = if ($Debug) { "/Od /MDd" } else { "/O2 /MD" } | 43 | $opt = if ($Debug) { "/Od /MDd" } else { "/O2 /MD" } |
| 44 | $body = @" | 44 | $body = @" |