Merge branch 'blueloveTH:main' into build

This commit is contained in:
Pranav Jain 2023-10-05 18:15:04 +05:30 committed by GitHub
commit 9a0e9d7a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,12 @@
if (Test-Path build) { if (Test-Path build) {
Remove-Item -Recurse -Force build Remove-Item -Recurse -Force build
} }
mkdir build
cd build New-Item -ItemType Directory -Path build
Push-Location build
cmake .. cmake ..
cmake --build . --config Release cmake --build . --config Release
cp Release/main.exe ../
cp Release/pocketpy.dll ../ Copy-Item "Release\main.exe" -Destination ".." # Note: NTFS uses backslash (\) instead of slashes (*nix, /)
Copy-Item "Release\pocketpy.dll" -Destination ".."