Added Windows installer build script
This commit is contained in:
18
packaging/make_installer.ps1
Normal file
18
packaging/make_installer.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
# This script assumes that all clang-uml dependencies are instaled in C:\clang-uml
|
||||
|
||||
param ($Prefix="C:\clang-uml", $BuildType="Release")
|
||||
|
||||
mkdir _BUILD
|
||||
|
||||
cmake -S .. -B .\_BUILD\windows\ -DCMAKE_PREFIX_PATH="$Prefix" -Thost=x64
|
||||
|
||||
cd .\_BUILD\windows\src
|
||||
|
||||
msbuild .\clang-uml.vcxproj -maxcpucount /p:Configuration=Release
|
||||
|
||||
cd ..
|
||||
|
||||
cpack -C "Release" -G NSIS64
|
||||
|
||||
cd ..
|
||||
cd ..
|
||||
Reference in New Issue
Block a user