Skip to content

Commit

Permalink
Update Build README
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet committed Feb 9, 2023
1 parent 7c0d516 commit 5183cc6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- GCC 9 or later
- X11, XCB, LCov (optional for code coverage) libraries
```console
sudo apt-get update && sudo apt-get install build-essential git cmake lcov xcb libx11-dev libx11-xcb-dev libxcb-randr0-dev
sudo apt-get update && sudo apt-get install build-essential git cmake lcov xcb libx11-dev libx11-xcb-dev libxcb-sync-dev libxcb-randr0-dev
```
- **MacOS**
- MacOS 10.15 "Catalina" or later
Expand Down Expand Up @@ -211,11 +211,9 @@ Configure preset names `[ConfigPresetName]` can be listed with `cmake --list-pre
| iOS [-Sim] | - | MTL | - | - |
| tvOS [-Sim] | - | MTL | - | - |

Build preset names `[BuildPresetName]` can be listed with `cmake --list-presets build` and are constructed according to the same schema,
but `Default` suffix should be replaced with `Debug` or `Release` configuration name. Only compatible configure and build presets
can be used together either with the same name, or with `Debug` or `Release` instead of `Default`. `Ninja` presets should be used from
Build preset names `[BuildPresetName]` can be listed with `cmake --list-presets build` and are constructed according to the same schema, but `Default` suffix should be replaced with `Debug` or `Release` configuration name. Only compatible configure and build presets can be used together either with the same name, or with `Debug` or `Release` instead of `Default`. `Ninja` presets should be used from
"x64/x86 Native Tools Command Prompt for VS2019" command line environment on Windows or directly from Visual Studio.

[Azure Pipelines](https://dev.azure.com/MethanePowered/MethaneKit/_build?view=runs) CI builds are configured with these CMake presets.
[GitHub Actions](https://github.com/MethanePowered/MethaneKit/actions) CI builds are configured with these CMake presets.
CMake presets can be also used in [VS2019 and VS Code](https://devblogs.microsoft.com/cppblog/cmake-presets-integration-in-visual-studio-and-visual-studio-code/)
to reproduce CI builds on the development system with a few configuration options in IDE UI.

0 comments on commit 5183cc6

Please sign in to comment.