2023-08-18 12:18:36 -04:00
|
|
|
# Building Novus
|
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
Currently the only way to build Novus is manually.
|
2023-08-18 12:18:36 -04:00
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
## Manual
|
2023-08-18 12:18:36 -04:00
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
### Dependencies
|
2023-08-18 12:18:36 -04:00
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
* [Linux](https://kernel.org/)
|
|
|
|
* Windows, macOS and other systems may work but are currently unsupported. Patches are accepted to fix any problems with those OSes though.
|
|
|
|
* [CMake](https://cmake.org) 3.25 or later
|
|
|
|
* [Qt](https://www.qt.io/) 6.6 or later
|
|
|
|
* [KDE Frameworks](https://develop.kde.org/products/frameworks/) 6
|
|
|
|
* [Rust](https://www.rust-lang.org/)
|
|
|
|
* [Corrosion](https://github.com/corrosion-rs/corrosion)
|
2023-08-18 12:18:36 -04:00
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
### Configuring
|
2023-08-18 12:18:36 -04:00
|
|
|
|
|
|
|
To configure, run `cmake` in the source directory:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ cd novus
|
|
|
|
$ cmake -S . -B build
|
|
|
|
```
|
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
This command will create a new build directory and configure the source directory (`.`). If you want to enable more options, pass them now:
|
2023-08-18 12:18:36 -04:00
|
|
|
|
|
|
|
```bash
|
2024-04-22 16:15:55 -04:00
|
|
|
$ cmake -S . -B build -DENABLE_SOMETHING=ON
|
2023-08-18 12:18:36 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
|
|
Now begin building the project:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ cmake --build build
|
|
|
|
```
|
|
|
|
|
2024-04-22 16:15:55 -04:00
|
|
|
If the build was successful, the tool binaries will be found in `./build/bin`.
|