Skip to content

Commit aee3b0d

Browse files
traversarojleibs
authored andcommitted
Add example of downloading rerun c++ lib via pixi
1 parent 3d087b9 commit aee3b0d

File tree

5 files changed

+1816
-494
lines changed

5 files changed

+1816
-494
lines changed

.github/workflows/cpp.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ jobs:
1414
pixi-version: v0.25.0
1515
cache: true
1616

17-
- run: pixi run build
17+
- name: run build task on all environments
18+
run: |
19+
pixi run -e default build
20+
pixi run -e rerunfindpackage build

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Build directory
1+
# Build directories
22
build
3+
buildrerunfindpackage
34

45
# Pixi environment
56
.pixi

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ This is a minimal CMake project that shows how to use [Rerun](https://github.com
1616
The easiest way to get started is to install [pixi](https://prefix.dev/docs/pixi/overview).
1717

1818
The pixi environment described in `pixi.toml` contains all of the dependencies, including the rerun viewer,
19-
allowing you to run the example with a single command:
20-
* `pixi run example`
19+
allowing you to run the example with a single command, while the rerun C++ SDK is downloaded via `FetchContent`
20+
* `pixi run -e default example`
21+
22+
If you want to also download rerun C++ SDK via pixi, you can run:
23+
* `pixi run -e rerundfindpackage example`
2124

2225
## Without `pixi`
2326
If you choose not to use pixi, you will need to install a few things yourself before you get started.

0 commit comments

Comments
 (0)