@@ -111,10 +111,12 @@ jobs:
111
111
)
112
112
113
113
$gamePrefix = "${{ inputs.game == 'Generals' && 'GENERALS' || 'ZEROHOUR' }}"
114
+ $buildFlags += "-DRTS_BUILD_CORE_TOOLS=${{ inputs.tools && 'ON' || 'OFF' }}"
114
115
$buildFlags += "-DRTS_BUILD_${gamePrefix}_TOOLS=${{ inputs.tools && 'ON' || 'OFF' }}"
116
+ $buildFlags += "-DRTS_BUILD_CORE_EXTRAS=${{ inputs.extras && 'ON' || 'OFF' }}"
115
117
$buildFlags += "-DRTS_BUILD_${gamePrefix}_EXTRAS=${{ inputs.extras && 'ON' || 'OFF' }}"
116
118
117
- Write-Host "Build flags: $buildFlags"
119
+ Write-Host "Build flags: $($ buildFlags -join ' | ') "
118
120
119
121
cmake --preset ${{ inputs.preset }} $buildFlags
120
122
@@ -132,9 +134,9 @@ jobs:
132
134
if ("${{ inputs.preset }}" -like "win32*") {
133
135
# For win32 preset, look in config-specific subdirectories
134
136
$configToUse = if ("${{ inputs.preset }}" -eq "win32dbg") { "Debug" } else { "Release" }
135
- $files = Get-ChildItem -Path "$buildDir\${{ inputs.game }}\$configToUse" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
137
+ $files = Get-ChildItem -Path "$buildDir\Core\$configToUse","$buildDir\ ${{ inputs.game }}\$configToUse" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
136
138
} else {
137
- $files = Get-ChildItem -Path "$buildDir\${{ inputs.game }}" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
139
+ $files = Get-ChildItem -Path "$buildDir\Core","$buildDir\ ${{ inputs.game }}" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
138
140
}
139
141
$files | Move-Item -Destination $artifactsDir -Verbose
140
142
0 commit comments