# Manage multiple ESP-IDF build configurations with ease

DevFeed: [Manage multiple ESP-IDF build configurations with ease](<https://devfeed.tech/articles/manage-multiple-esp-idf-build-configurations-with-ease-13738.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2025/12/cmake_presets/>)

Author: John Lee

Published: 2025-12-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [CMake](<https://devfeed.tech/topics/cmake.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Testing](<https://devfeed.tech/topics/testing.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [cmake](<https://devfeed.tech/tags/cmake.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [sdkconfig](<https://devfeed.tech/tags/sdkconfig.md>)

## AI overview

This tutorial explains how ESP-IDF v6.0 build configuration presets simplify switching among development, production, and testing builds. It covers reusable JSON-based settings, CMake Presets support, and separate build directories for parallel configuration management.

## Source excerpt

Tired of juggling complex command-line arguments with endless idf.py flags? ESP-IDF v6.0 introduces a new feature, letting you switch between multiple build configuration. Learn how to structure your project, isolate sdkconfig files, and migrate from ad-hoc commands to clean, declarative builds.