Recommend Ninja as a CMake build system

This commit is contained in:
Dmitry Mikushin
2022-02-19 22:18:06 +01:00
parent ed23945d13
commit 7387d66ca4

View File

@@ -26,7 +26,9 @@ This fork is intended to bring together the [original work of Serge Zaitsev](htt
## Prerequisites ## Prerequisites
Linux: * CMake
* [Ninja](https://ninja-build.org/), in order to have the same build commands on all platforms
* AppIndicator on Linux:
``` ```
sudo apt install libappindicator3-dev sudo apt install libappindicator3-dev
@@ -37,12 +39,10 @@ sudo apt install libappindicator3-dev
``` ```
mkdir build mkdir build
cd build cd build
cmake .. cmake -G Ninja ..
ninja
``` ```
* On Linux/MacOS run the resulting Makefile with `make`
* On Windows build the resulting Visual Studio solution
## Demo ## Demo
Execute the `tray_example` application: Execute the `tray_example` application: