mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
897 B
897 B
layout, title, permalink
| layout | title | permalink |
|---|---|---|
| page | Examples | /examples/ |
Changing C++/C version
Simple example changing C++ to version 20 and C standard to the version 11
[target.example]
type = "executable"
compile-features = [ "cxx_std_20", "c_std_11" ]
Import from another Git repository
Importing an existing project called Zydis to my project
tag is optional but you can target any branch with it
[fetch-content]
zydis = { git = "https://github.com/zyantific/zydis.git", tag = "v3.1.0" }
[target.example]
type = "executable"
link-libraries = ["zydis"]
Import from another folder
Importing an existing project called Zydis to my project
tag is optional but you can target any branch with it
[fetch-content]
zydis = { git = "https://github.com/zyantific/zydis.git", tag = "v3.1.0" }
[target.example]
type = "executable"
link-libraries = ["zydis"]