mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Recommend the use of Ninja when using CMake
This commit is contained in:
parent
5a7fa5bf11
commit
1a3396da3b
2 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,9 @@ SixtyFPS is still in the early stages of development: APIs will change and impor
|
|||
SixtyFPS comes with a CMake integration that automates the compilation step of the `.60` markup language files and
|
||||
offers a CMake target for convenient linkage.
|
||||
|
||||
*Note*: We recommend using the Ninja generator of CMake for the most efficient build and `.60` dependency tracking.
|
||||
You can select the CMake Ninja backend by passing `-GNinja` or settig the `CMAKE_GENERATOR` environment variable to `Ninja`.
|
||||
|
||||
### Building from Sources
|
||||
|
||||
The recommended and most flexible way to use the C++ API is to build SixtyFPS from sources.
|
||||
|
|
|
@ -44,7 +44,7 @@ This is just a normal cmake build.
|
|||
|
||||
```sh
|
||||
mkdir cppbuild && cd cppbuild
|
||||
cmake ..
|
||||
cmake -GNinja ..
|
||||
cmake --build .
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue