build.ps1 329 B

123456789101112
  1. if (Test-Path build) {
  2. Remove-Item -Recurse -Force build
  3. }
  4. New-Item -ItemType Directory -Path build
  5. Push-Location build
  6. cmake ..
  7. cmake --build . --config Release
  8. Copy-Item "Release\main.exe" -Destination ".." # Note: NTFS uses backslash (\) instead of slashes (*nix, /)
  9. Copy-Item "Release\pocketpy.dll" -Destination ".."