diff options
author | Robert Adam <dev@robert-adam.de> | 2021-05-30 17:52:25 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-05-30 17:52:25 +0300 |
commit | b1da1760b95d9ea40c6ef92e7f7ddde542312385 (patch) | |
tree | ce25ff7664c0ae57bc1031546da0443c32610dad /docs/dev | |
parent | 1b06272db108f96dd2112282f84ca600461bc669 (diff) |
DOCS: Mention BUILD_NUMBER for building installer
The requirement to set the BUILD_NUMBER variable was not mentioned in
the docs for how to build an installer.
Fixes #5060
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/build-instructions/build_installer.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/dev/build-instructions/build_installer.md b/docs/dev/build-instructions/build_installer.md index da3f09f78..d7540aa0f 100644 --- a/docs/dev/build-instructions/build_installer.md +++ b/docs/dev/build-instructions/build_installer.md @@ -8,6 +8,10 @@ For creating the installer, [WixSharp](https://github.com/oleg-shilo/wixsharp) h 2. Extract into a folder 3. Add that folder to the PATH environment variable +When creating an installer, you _have to_ specify a build number using e.g. `-DBUILD_NUMBER=3` when invoking cmake. The build number is used to +differentiate multiple builds for the same Mumble version and makes sure that always the latest build will upgrade any previous builds. If you are +creating an installer for yourself, just use build number `0`. + The cmake option `packaging`, off by default, specifies whether or not to build the installer. If being built it will be multi-lingual by default. Use the cmake generate option `-Dpackaging=ON` to enable building the installer. @@ -15,3 +19,4 @@ Use the cmake generate option `-Dpackaging=ON` to enable building the installer. Use the additional cmake generate option `-Dtranslations=OFF` to build a single-language installer instead. Note that the installers expect some components to be built. For example, the client installer expects the `g15` component to be built too. Without it packaging will fail on the missing expected file. + |