diff options
-rw-r--r-- | README.md | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -15,15 +15,20 @@ Furthermore, support for viewing replies to your posts will be added. I also wan ## Building -To build, please have CMake and the Qt library installed. You will also need [mastodonpp](https://schlomp.space/tastytea/mastodonpp/), which can be retrieved by initializing git submodules. +To build, have a C++17-compliant compiler, CMake 3.9 or later, and the Qt 5 or 6 library installed. This repo uses git submodules which can be fetched by recursively cloning (`git clone --recurse-submodules`) or initializing submodules afterwards (`git submodule update --init`). -Simply said, after install CMake and Qt from your package manager, do the following to build the project: +That should get dependencies which currently are [mastodonpp](https://schlomp.space/tastytea/mastodonpp/). Note that when asking CMake to generate the build files, you can disable mastodonpp support by passing `-DMASTODONPP_BUILD=0`. + +Simply said, after installing CMake and Qt from your package manager, do the following to build the project: ``` git clone --recurse-submodules https://git.twilightsparkle.space/ActorViewer && cd ActorViewer -cmake -B build -DCMAKE_BUILD_TYPE=Debug # Initially and if CMakeLists.txt changes -cmake --build build -j$(nproc --all) --target all # To build -cmake --build build -j$(nproc --all) --target clean # To clean + +# Generate build files (initially and if CMakeLists.txt changes) +cmake -B build -DCMAKE_BUILD_TYPE=Debug + +# Build! +cmake --build build -j$(nproc --all) --target all ``` I plan to make a Flatpak in the near future so that manually building will not be necessary. |