|
|
@@ -249,8 +249,6 @@ find_package(ABC CONFIG REQUIRED)
|
|
|
|
|
|
#### Step by Step Local Packaging Tutorial
|
|
|
|
|
|
-Written by [@mccakit](https://github.com/mccakit)
|
|
|
-
|
|
|
---
|
|
|
|
|
|
In this tutorial we will package a static library called foo, upload it to a GitHub repository and consume it similar to a manner of CMake FetchContent
|
|
|
@@ -334,23 +332,19 @@ In this tutorial we will package a static library called foo, upload it to a Git
|
|
|
```
|
|
|
|
|
|
```powershell
|
|
|
- gh auth login
|
|
|
- ```
|
|
|
-
|
|
|
- ```powershell
|
|
|
- gh repo create xmake_local_package_tutorial --public --source=. --remote=origin --push
|
|
|
+ git add .\packages\
|
|
|
```
|
|
|
|
|
|
```powershell
|
|
|
- git add .\packages\
|
|
|
+ git commit -m "init"
|
|
|
```
|
|
|
|
|
|
```powershell
|
|
|
- git commit -m "init"
|
|
|
+ gh auth login
|
|
|
```
|
|
|
|
|
|
```powershell
|
|
|
- git push
|
|
|
+ gh repo create xmake_local_package_tutorial --public --source=. --remote=origin --push
|
|
|
```
|
|
|
|
|
|
- Create a project where you intend on consuming the package
|