Update README.md

self-hosting
Mohammed Alyousef 4 years ago committed by GitHub
parent d59a238338
commit a44f4ee572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,15 +3,17 @@
A CMakeLists.txt generator from TOML. Still WIP. A CMakeLists.txt generator from TOML. Still WIP.
## Building ## Building
cmkr requires a C++17 compiler and git. It depends on toml11 by ToruNiina, which is added as a git submodule.
``` ```
git clone https://github.com/moalyousef/cmkr git clone https://github.com/moalyousef/cmkr
cd cmkr cd cmkr
git submodule update --init --recursive
cmake -S. -Bbin cmake -S. -Bbin
cmake --build bin cmake --build bin
``` ```
## Usage ## Usage
cmkr parses cmake.toml files at the project directory. A basic hello world format with the minimum required fields: cmkr parses cmake.toml files (using toml11) at the project directory. A basic hello world format with the minimum required fields:
```toml ```toml
[cmake] [cmake]
minimum_required = "3.0" minimum_required = "3.0"

Loading…
Cancel
Save