mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Merge branch 'blueloveTH:main' into build
This commit is contained in:
commit
9a0e9d7a62
11
build.ps1
11
build.ps1
@ -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 ".."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user