When not specified otherwise, it will create a directory called release containing the build directory, a source tarball and the packaged binary bundles. This will automate the compilation and packaging steps described above and also perform a few more packaging steps such as exporting a source tarball and building an AppImage on Linux. If you are not a KeePassXC maintainer, the only interesting command for you is release-tool build. g, -gpg-key GPG key used to sign the files (default: 'CFB4C2166397D0D2') Sign previously compiled release packages Merge (only useful for KeePassXC maintainers) n, -no-source-tarball Don't build source tarball p, -plugins Space-separated list of plugins to build i, -install-prefix Install prefix (default: '/usr/local') m, -make-options Make options for compiling sources (default: '-j8') compiler Compiler to use (default: 'g++') c, -cmake-options Additional CMake options for compiling the sources container-name Docker container name (default: 'keepassxc-build-container') This option has no effect if -build is not set. The image must have all required build dependencies installed. d, -docker-image Use the specified Docker image to compile the application. b, -build Build sources after exporting release t, -tag-name Release tag to check out (defaults to version number) o, -output-dir Output directory where to build the release s, -source-dir Source directory (default: '.') a, -app-name Application name (default: 'KeePassXC') v, -version Release version number or name (required) Use the following guides to setup your build environment:ĭownload the sources from and unpack them:īuild and package binary release from sources Used with distribution builds (default: "")īuilding Manually 1. DGIT_HEAD_OVERRIDE= Specify the 7 digit git commit ref for this build. DOVERRIDE_VERSION= Specify a version number when building. DKEEPASSXC_DIST_TYPE= Specify the distribution method (default: "Other") DKEEPASSXC_BUILD_TYPE= Set the build type to show/hide stability warnings (default: "Snapshot") DWITH_APP_BUNDLE= Enable Application Bundle for macOS (default: ON) DWITH_COVERAGE= Enable/Disable coverage tests (GCC only) (default: OFF) DWITH_ASAN= Enable/Disable address sanitizer checks (Linux / macOS only) (default: OFF) DWITH_DEV_BUILD= Enable/Disable deprecated method warnings (default: OFF) DWITH_GUI_TESTS= Enable/Disable building of GUI tests (default: OFF) DWITH_TESTS= Enable/Disable building of unit tests (default: ON) DWITH_XC_UPDATECHECK= Enable/Disable automatic updating checking (requires WITH_XC_NETWORKING) (default: ON) DWITH_XC_ALL= Enable/Disable compiling all plugins above (default: OFF) DWITH_XC_KEESHARE= Enable/Disable KeeShare group synchronization extension (default: OFF) DWITH_XC_FDOSECRETS= (Linux Only) Enable/Disable Secrets Service support (default:OFF) DWITH_XC_SSHAGENT= Enable/Disable SSHAgent support (default: OFF) DWITH_XC_NETWORKING= Enable/Disable Networking support (e.g., favicon downloading) (default: OFF) DWITH_XC_BROWSER= Enable/Disable KeePassXC-Browser extension support (default: OFF) DWITH_XC_YUBIKEY= Enable/Disable YubiKey HMAC-SHA1 authentication support (default: OFF) DWITH_XC_AUTOTYPE= Enable/Disable Auto-Type (default: ON) For example: cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_NETWORKING=OFF -DWITH_XC_KEESHARE=ON. Each of these build options are supplied at the time of calling cmake. Please note that we still require and link against Qt5's network library in order to use local named pipes on all operating systems. Most notably, we allow you to build the application with all TCP/IP networking code disabled. KeePassXC comes with a variety of build options that can turn on/off features. libusb-1.0, pcsc-lite (Linux only for Yubikey support).qtx11extras, libxi, and libxtst (for auto-type on X11).Qt 5 (>= 5.9.5): qtbase5, qtbase5-private, libqt5svg5, qttools5, qt5-image-formats-plugins.The following tools must exist within your PATH: KeePassXC supports the following Operating Systems:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |