Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f963c10257 | ||
|
|
fbb16859f3 |
@@ -46,8 +46,7 @@ First build release configuration using `cmake` and `msbuild` according
|
||||
to the [documentation](../docs/installation.md#visual-studio-native-build).
|
||||
|
||||
```bash
|
||||
cmake -S clang-uml -B .\clang-uml-build-pkg\ -DCMAKE_PREFIX_PATH="C:\clang-uml" -Thost=x64
|
||||
cd .\clang-uml-build-pkg\
|
||||
msbuild .\clang-uml.vcxproj -maxcpucount /p:Configuration=RelWithDebInfo
|
||||
cpack -C "RelWithDebInfo" -G NSIS64
|
||||
cd packaging
|
||||
.\make_installer.ps1
|
||||
ls .\_BUILD\windows\clang-uml-0.3.7-win64.exe
|
||||
```
|
||||
@@ -10,7 +10,7 @@ cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DGIT_VERSION=${GIT_VERSION} \
|
||||
-DCODE_COVERAGE=OFF \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-nonnull -Wno-stringop-overflow" \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-nonnull -Wno-stringop-overflow -Wno-dangling-reference" \
|
||||
-DLLVM_CONFIG_PATH=${BUILD_PREFIX}/bin/llvm-config \
|
||||
-DCONDA_BUILD_PREFIX=${BUILD_PREFIX} \
|
||||
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
|
||||
|
||||
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