Docs: Fix broken link and add a quick build example (#827)
* chore(gitignore): ignore `build-dir` * chore(docs): fix broken link and add a build example Co-authored-by: guihkx <guihkx@users.noreply.github.com>
This commit is contained in:
parent
2110bdf88a
commit
64a4c4e168
2 changed files with 18 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -25,4 +25,7 @@
|
|||
*.user*
|
||||
localization/*qm
|
||||
*.TMP
|
||||
resources/skins/*/*.map
|
||||
resources/skins/*/*.map
|
||||
|
||||
# Build directory.
|
||||
build-dir/
|
|
@ -569,7 +569,20 @@ So in order to comfortably add feed directly to RSS Guard from you browser witho
|
|||
You can support author of RSS Guard via [donations](https://github.com/sponsors/martinrotter).
|
||||
|
||||
### <a id="compil"></a>Compiling RSS Guard
|
||||
RSS Guard is C++ application and all common build instructions can be found in top of [project file](https://github.com/martinrotter/rssguard/blob/master/build.pro).
|
||||
RSS Guard is a C++ application and all common build instructions can be found at the top of [CMakeLists.txt](https://github.com/martinrotter/rssguard/blob/master/CMakeLists.txt). Here's a quick example of how to build on Linux:
|
||||
|
||||
```bash
|
||||
# Create a build directory.
|
||||
mkdir build-dir
|
||||
# Configure the project to build using Qt 6, and disable built-in web browser support.
|
||||
cmake -B build-dir -S . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT6=ON -DUSE_WEBENGINE=OFF
|
||||
# Compile it, in parallel mode.
|
||||
cmake --build build-dir -j$(nproc)
|
||||
# (Optional) Run the build to test it.
|
||||
./build-dir/src/rssguard/rssguard
|
||||
# (Optional) Install RSS Guard system-wide.
|
||||
sudo make -C build-dir install
|
||||
```
|
||||
|
||||
### <a id="papi"></a>Plugin API
|
||||
RSS Guard offers simple C++ API for creating new service plugins. All base API classes are in folder [`abstract`](https://github.com/martinrotter/rssguard/tree/master/src/librssguard/services/abstract). User must subclass and implement all interface classes:
|
||||
|
|
Loading…
Add table
Reference in a new issue