# \#gen:fastbuild

**URL:** https://discourse.cmake.org/tag/gen-fastbuild/54.md

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

---

## [How to use FASTBuild with multiple targets?](https://discourse.cmake.org/t/how-to-use-fastbuild-with-multiple-targets/15822)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.cmake.org/u/CsatiZoltan)\
**Replies:** 1\
**Last updated:** [September 4, 2026, 10:51pm UTC](https://discourse.cmake.org/t/how-to-use-fastbuild-with-multiple-targets/15822 "2026-09-04T22:51:05Z")

</div>

I tried out the FASTBuild generator with CMake (FASTBuild v1.20 with CMake 4.3.2). My project has multiple targets, which I build with cmake --build build/ By default, CMake builds all the targets, which causes an erro…
