Surgo/scripts/regen_solutions.ps1
Ed_ 1a2d8582f4 Added regen_solutions.ps1, added to update_deps.ps1: imgui/cog/steamaduio into engine
SteamAudio seems to be working fine.
UE_Imgui/Cog are having some issues...
2024-04-09 16:35:54 -04:00

29 lines
832 B
PowerShell

Clear-Host
$path_scripts = $PSScriptRoot
$path_helpers = join-path $path_scripts 'helpers'
$path_root = split-path -Parent -Path $path_scripts
$path_ue = join-path $path_root 'UE'
$path_project = join-path $path_root 'Project'
$surgo_uproject = join-path $path_project 'Surgo.uproject'
$UBT = join-path $path_ue 'Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe'
$fubt_project = '-project'
$fubt_projectfiles = '-projectfiles'
$fubt_game = '-game'
$fubt_engine = '-engine'
$fubt_progress = '-progress'
$GenerateProjectFiles = join-path $path_ue 'GenerateProjectFiles.bat'
& $GenerateProjectFiles
$ubt_args = @()
$ubt_args += $fubt_projectfiles
$ubt_args += "$fubt_project=$surgo_uproject"
$ubt_args += $fubt_game
$ubt_args += $fubt_engine
$ubt_args += $fubt_progress
& $UBT $ubt_args