| 1 | Compiling RSS Guard |
| 2 | =================== |
| 3 | RSS Guard is a `C++` application. All common build instructions can be found at the top of [CMakeLists.txt](https://github.com/martinrotter/rssguard/blob/master/CMakeLists.txt). |
| 4 | |
| 5 | Here's a quick example of how to build it on Linux: |
| 6 | |
| 7 | ```bash |
| 8 | # Create a build directory |
| 9 | mkdir build-dir |
| 10 | |
| 11 | # Configure the project to build using Qt 6, and disable built-in web browser support |
| 12 | cmake -B build-dir -S . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT6=ON -DNO_LITE=OFF |
| 13 | |
| 14 | # Compile it (in parallel mode) |
| 15 | cmake --build build-dir -j$(nproc) |
| 16 | |
| 17 | # (Optional) Run the build to test it |
| 18 | ./build-dir/src/rssguard/rssguard |
| 19 | |
| 20 | # (Optional) Install RSS Guard system-wide |
| 21 | sudo make -C build-dir install |
| 22 | ``` |
| 23 | |
| 24 | ```{warning} |
| 25 | Note that on Mac OS X, in some cases, you have to self-sign the application via `codesign` utility to make the application run. |
| 26 | ``` |