mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
- Add ARM64 configurations to all project files (vcxproj) - Add build scripts (Build_ARM64.cmd, Build_x64.cmd, etc.) - Add ARM64 fix scripts for OutDir, CrossCompile, and CETCompat issues - Update Notepad3.sln with ARM64 platform configurations
23 lines
766 B
PowerShell
23 lines
766 B
PowerShell
# Clean All Build Outputs
|
|
# Usage: .\Clean.ps1
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
$RepoRoot = Split-Path -Parent $ScriptDir
|
|
$BinDir = Join-Path $RepoRoot "Bin"
|
|
|
|
Write-Host "Cleaning build outputs..." -ForegroundColor Yellow
|
|
Write-Host "Bin directory: $BinDir" -ForegroundColor Cyan
|
|
|
|
if (Test-Path $BinDir) {
|
|
$dirs = Get-ChildItem -Path $BinDir -Directory
|
|
foreach ($dir in $dirs) {
|
|
Write-Host " Removing: $($dir.Name)" -ForegroundColor Gray
|
|
Remove-Item -Path $dir.FullName -Recurse -Force -ErrorAction SilentlyContinue
|
|
}
|
|
Write-Host "Clean completed!" -ForegroundColor Green
|
|
}
|
|
else {
|
|
Write-Host "Bin directory does not exist - nothing to clean." -ForegroundColor Yellow
|
|
}
|