Added Windows installer target using CPack and NSIS

This commit is contained in:
Bartek Kryza
2023-01-08 17:41:59 +01:00
parent cf3e7ebc6e
commit 235707c916
3 changed files with 66 additions and 2 deletions

View File

@@ -38,4 +38,14 @@ docker run --rm -v $PWD:$PWD continuumio/miniconda3 bash
conda install conda-build make
cd packaging
make CONDA_TOKEN=<TOKEN> conda
```
## Windows
First build release configuration using `cmake` and `msbuild` according
to the [documentation](../docs/installation.md#visual-studio-native-build).
```bash
cd <MSBUILD_BUILD_DIRECTORY>
cpack -C "Release" -G NSIS64
```