You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
437 B
23 lines
437 B
---
|
|
layout: default
|
|
title: Import content from Github
|
|
permalink: /examples/import-from-git
|
|
parent: Examples
|
|
nav_order: 2
|
|
---
|
|
|
|
# Import content from Github
|
|
|
|
Importing an existing project called Zydis to my project
|
|
|
|
tag is optional but you can target any branch with it
|
|
|
|
```toml
|
|
[fetch-content]
|
|
zydis = { git = "https://github.com/zyantific/zydis.git", tag = "v3.1.0" }
|
|
|
|
[target.example]
|
|
type = "executable"
|
|
link-libraries = ["zydis"]
|
|
```
|