Skip to content

Commit

Permalink
update windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Feb 20, 2024
1 parent a10a914 commit 2298521
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ $SCRIPT_DIR = "$PROJECT_DIR\scripts"
$BUILD_MODE = "$BuildMode"
$BUILD_DOCS = if ($BuildDocs) { $true } else { $false }
$FULL_POLY_SUV = if ($FullPolySuv) { $true } else { $false }
$DEBUG = if ($SystemDebug) { $true } else { $false }
$CI_CD = if ($Deploy -eq $true) { $true } else { $false }
$DEBUG_MODE = if ($SystemDebug) { $true } else { $false }
$CI_CD_MODE = if ($Deploy -eq $true) { $true } else { $false }

# Dynamic variables
$SYSTEM_INFO = Get-ComputerInfo # Windows only
Expand Down Expand Up @@ -167,7 +167,7 @@ function Update-VsUnrealProjectFiles {
### Main
###

if ( $DEBUG -eq $true ) { Write-Output (Get-WindowsInfo($SYSTEM_INFO)) }
if ( $DEBUG_MODE -eq $true ) { Write-Output (Get-WindowsInfo($SYSTEM_INFO)) }

Write-Output ''
Write-Output '-----------------------------------------------------------------------------------------'
Expand All @@ -182,6 +182,9 @@ Write-Output " Platform: $SYSTEM_PLATFORM"
Write-Output " CPU count max: $SYSTEM_CPU_MAX"
Write-Output " Build mode: $BUILD_MODE"
Write-Output '-----------------------------------------------------------------------------------------'
Write-Output " Debug mode: $DEBUG_MODE"
Write-Output " CI/CD mode: $CI_CD_MODE"
Write-Output '-----------------------------------------------------------------------------------------'
Write-Output " Windows version: $SYSTEM_OS_VERSION"
Write-Output " Visual Studio version: $VS_VERSION"
Write-Output " CMake version: $CMAKE_VERSION"
Expand All @@ -196,7 +199,7 @@ Write-Output ''
Test-WorkingDirectory

# Test Visual Studio version
Test-VisualStudioVersion -Automate $CI_CD
Test-VisualStudioVersion -Automate $CI_CD_MODE

# Test CMake version
Test-CmakeVersion
Expand Down

0 comments on commit 2298521

Please sign in to comment.