Skip to content

Commit

Permalink
add example of build configuration in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr committed Jan 12, 2024
1 parent 84bca29 commit 21e467e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ cmake -B <build_dir> -S <path-to-vulkan-kernel-profiler> -DPERFETTO_SDK_PATH=<pa
cmake --build <build_dir>
```

For a real life eaxmple, have a look at:
- vulkan-shader-profiler ChromeOS [ebuild](https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/main/dev-libs/vulkan-shader-profiler/vulkan-shader-profiler-0.0.1.ebuild)
- vulkan-shader-profiler Github presubmit [configuration](https://github.com/rjodinchr/vulkan-shader-profiler/blob/main/.github/workflows/presubmit.yml)

## Build options

* `PERFETTO_SDK_PATH` (REQUIRED): path to [perfetto](https://github.com/google/perfetto) sdk (`vulkan-kernel-profiler` is looking for `PERFETTO_SDK_PATH/perfetto.cc` and `PERFETTO_SDK_PATH/perfetto.h`).
Expand Down

0 comments on commit 21e467e

Please sign in to comment.