-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.ps1
22 lines (16 loc) · 852 Bytes
/
build.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Remove-Item .\build\ -Force -Recurse
Remove-Item .\x64\ -Force -Recurse
Remove-Item .\x86\ -Force -Recurse
New-Item x64 -ItemType "directory" -Force
New-Item x86 -ItemType "directory" -Force
cmake -B ./build -G "Visual Studio 17 2022" -T host=x64 -A x64 .
cmake --build ./build --config Release --target ALL_BUILD -j 4 --
Copy-Item ./build/build/Release/easy-taskbar-progress.dll x64/
Copy-Item ./build/Release/easy-taskbar-progress.exp x64/
Copy-Item ./build/Release/easy-taskbar-progress.lib x64/
Remove-Item .\build\ -Force -Recurse
cmake -B ./build -G "Visual Studio 17 2022" -T host=x86 -A win32 .
cmake --build ./build --config Release --target ALL_BUILD -j 4 --
Copy-Item ./build/build/Release/easy-taskbar-progress.dll x86/
Copy-Item ./build/Release/easy-taskbar-progress.exp x86/
Copy-Item ./build/Release/easy-taskbar-progress.lib x86/