mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
13 lines
329 B
PowerShell
13 lines
329 B
PowerShell
if (Test-Path build) {
|
|
Remove-Item -Recurse -Force build
|
|
}
|
|
|
|
New-Item -ItemType Directory -Path build
|
|
Push-Location build
|
|
|
|
cmake ..
|
|
cmake --build . --config Release
|
|
|
|
Copy-Item "Release\main.exe" -Destination ".." # Note: NTFS uses backslash (\) instead of slashes (*nix, /)
|
|
Copy-Item "Release\pocketpy.dll" -Destination ".."
|