Files
clang-uml/packaging/make_installer.ps1
2024-06-10 20:09:13 +02:00

18 lines
375 B
PowerShell

# This script assumes that all clang-uml dependencies are instaled in C:\clang-uml
param ($Prefix="C:\clang-uml-llvm18", $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 ..