Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 520 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 520 Bytes

libcamera CMake wrapper

This implements a thin CMake wrapper around the libcamera meson project. It only builds the main library without examples, tests or documentation.

cmake -B build -GNinja
cmake --build build

The number of parallel processes can be limited by setting NJOBS:

cmake -B build -GNinja -DNJOBS=2
cmake --build build

When using this as part of a colcon workspace, NJOBS can be set via --cmake-args:

colcon build --cmake-args="-DNJOBS=2"