Added Quickstart example

toml-checker
Luiz "darknessxk" Felipe 4 years ago committed by Duncan Ogilvie
parent 3f1dfe5be3
commit 3ba07bfd17

@ -4,7 +4,25 @@ title: Examples
permalink: /examples/ permalink: /examples/
--- ---
### Changing C++/C version # Examples
## Quickstart
Smallest possible start point you can have using cmkr
```toml
[cmake]
version = "3.15"
[project]
name = "hello-world"
[target.hello-world]
type = "executable"
sources = [ "src/*.cpp" ]
```
## Changing C++/C version
Simple example changing C++ to version 20 and C standard to the version 11 Simple example changing C++ to version 20 and C standard to the version 11
@ -14,7 +32,7 @@ type = "executable"
compile-features = [ "cxx_std_20", "c_std_11" ] compile-features = [ "cxx_std_20", "c_std_11" ]
``` ```
### Import from another Git repository ## Import from another Git repository
Importing an existing project called Zydis to my project Importing an existing project called Zydis to my project
@ -29,7 +47,7 @@ type = "executable"
link-libraries = ["zydis"] link-libraries = ["zydis"]
``` ```
### Import from another folder ## Import from another folder
Importing an existing project called Zydis to my project Importing an existing project called Zydis to my project

Loading…
Cancel
Save