---
title: "<code class=\"docutils literal notranslate\"><span class=\"pre\">pbl</span> <span class=\"pre\">build</span></code>"
canonical_url: https://developer.repebble.com/pebbleos/docs/pbl/build/
last_updated: 2026-10-21
sdk_version: 4.33.1
---
# <code class="docutils literal notranslate"><span class="pre">pbl</span> <span class="pre">build</span></code>

Source: https://developer.repebble.com/pebbleos/docs/pbl/build/

Build the configured firmware, or the named CMake targets.

```
pbl build
pbl build sdk
```

The build directory must have been set up with [pbl configure](https://developer.repebble.com/pebbleos/docs/pbl/configure.md) first. The outputs land in it, named after the variant (`normal` or `prf`); see [Build system](https://developer.repebble.com/pebbleos/docs/development/build_system.md) for how the build is put together.

## Options

```
pbl build [-h] [-b DIR] [--dry-run] [TARGET ...]
```

`TARGET`

CMake targets to build

Generated from PebbleOS [3a7b71785](https://github.com/coredevices/pebbleos/commit/3a7b71785fd439666c4a8bc116f561140e8dec01). This page is maintained in the pebbleos repository: [docs/pbl/build.md](https://github.com/coredevices/pebbleos/blob/3a7b71785fd439666c4a8bc116f561140e8dec01/docs/pbl/build.md).
