################################################################# # # For license of this file, see /LICENSE.md. # # This is RSS Guard compilation script for cmake. # # Usage (out of source build type, we have two side by side folders: # empty "build-dir" and RSS Guard repository "rssguard-dir"): # a) DEBUG build for testing. # cd build-dir # cmake -DCMAKE_BUILD_TYPE="Debug" ../rssguard-dir/ # cmake --build . # cmake --install . # # b) RELEASE build for production use. # cd build-dir # cmake -DCMAKE_BUILD_TYPE="Release" ../rssguard-dir/ # cmake --build . # cmake --install . # # Variables: # BUILD_WITH_QT6 - Build either with Qt 6 or Qt 5. # USE_SYSTEM_SQLITE - Use system-wide SQLite3 library and header file. Defaults to "ON". # NO_UPDATE_CHECK - Disable automatic checking for new application updates. # IS_FLATPAK_BUILD - Set to "ON" when building RSS Guard with Flatpak. # FORCE_BUNDLE_ICONS - Forcibly bundles icons into executables. # ENABLE_MEDIAPLAYER_QTMULTIMEDIA - Enable media player (QtMultimedia/ffmpeg implementation). # ENABLE_MEDIAPLAYER_LIBMPV - Enable media player (libmpv implementation). Use "LibMPV_ROOT" variable to specify # base libmpv directory. # MEDIAPLAYER_FORCE_OPENGL - When libmpv media player is enabled, then this forces it to use # its OpenGL renderer. This renderer is potentially faster, more modern # and supports wider range of platforms. Legacy "window-based" renderer # should be likely avoided in new codebases. # ENABLE_COMPRESSED_SITEMAP - Set to "ON" if you want to enable support for "sitemap.xml.gz" format. # This requires "zlib" library and if you want to use specific # zlib location, then use "ZLIB_ROOT" variable, for example # -DZLIB_ROOT="C:\\zlib" # NO_LITE - if specified, then QtWebEngine module for internal web browser is used # and also other more demanding parts of application are used. # {FEEDLY,GMAIL,INOREADER}_CLIENT_ID - preconfigured OAuth client ID. # {FEEDLY,GMAIL,INOREADER}_CLIENT_SECRET - preconfigured OAuth client SECRET. # # Other information: # - supports Windows, Linux, *BSD, macOS, OS/2, Android, # - Qt 5.14.0 or newer is required, # - Qt 6.3.0 or newer is required, # - cmake 3.14.0 or newer is required, # - if you wish to make packages for Windows, then you must initialize all submodules # within repository before compilation, # - C++ 17 is required. # # Building on OS/2: # RSS Guard can run on OS/2 and if you want to compile it by yourself, you need to make sure that # your OS/2 distro is up-to-date and you have all dependencies installed: os2-base, all gcc-* packages, # libc and libcx up-to-date, kbuild-make, ash, binutils, all relevant qt5-* packages. # # After your dependecies are installed, then you can compile via standard `cmake -> make -> make install` steps # and package with: 7z.exe a -t7z -mmt -mx9 "rssguard.7z" "