-
-
Notifications
You must be signed in to change notification settings - Fork 1
Building Examples
Phil Schatzmann edited this page Nov 8, 2025
·
4 revisions
This project can be built (and debugged) on the desktop using CMake.
You can enable or disable building the example sketches with CMake. By default examples are built. To disable all examples:
cmake -S . -B build -DLNA_BUILD_EXAMPLES=OFF
cmake --build build -j2You can also specify a comma-separated list of example folder names to build
using EXAMPLES_LIST. If left empty, all examples are built when
BUILD_EXAMPLES=ON.
Example: build only the desktop control-point examples
cmake -S . -B build -DLNA_BUILD_EXAMPLES=ON -DEXAMPLES_LIST="control-point-light,control-point-light-fast"
cmake --build build -j2