Viewing is open to everyone. Downloading and starring need a GitHub sign-in.
Sign in with GitHub
CMakeLists.txt
v0.1.0-build.85
Latest
Commit ede38f5
Sign in with GitHub to download. Each download is recorded with your GitHub username.
| 1 | # Example consumer of an installed CKey (find_package). Build with: |
| 2 | # cmake -S examples/c -B build-example -DCMAKE_PREFIX_PATH=<install prefix> |
| 3 | cmake_minimum_required(VERSION 3.20) |
| 4 | project(ckey_example LANGUAGES CXX) |
| 5 | find_package(CKey 0.1 REQUIRED) |
| 6 | add_executable(render_and_scan main.cpp) |
| 7 | target_link_libraries(render_and_scan PRIVATE CKey::core) |
| 8 | add_executable(scan_only scan_only.cpp) |
| 9 | target_link_libraries(scan_only PRIVATE CKey::scan) |