Skip to content

Commit 5f83fae

Browse files
docs: add docs on How do I build multiple configurations in Espressif-IDE
1 parent 2bb3d6b commit 5f83fae

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/en/faqs.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,15 @@ IDF Eclipse plugin uses CMake commands to build the project, so it's possible to
151151
- Click on the editor configuration wizard.
152152
- Navigate to `Build Settings` tab.
153153
- Add `--debug-output` or other
154+
155+
How do I build multiple configurations in Espressif-IDE?
156+
----------------------------------------------------------
157+
- Create a new project.
158+
- Open the `Launch Configuration` dialog.
159+
- Navigate to the `Build Settings` tab and enter `-B build_release` in the `Additional CMake Arguments` section. Here, `build_release` is the name of the build folder.
160+
- Click the `OK` button to save the configuration.
161+
- Reopen the `Launch Configuration` dialog.
162+
- Click the `Duplicate` button (located at the bottom left corner).
163+
- Navigate to the `Build Settings` tab and update the `Additional CMake Arguments` section to `-B build_dev`. Here, `build_dev` is the name of the build folder.
164+
- Click the `OK` button to save the configuration.
165+
- Click the Build icon from the toolbar (the leftmost icon) for the selected configuration. This will build the project and create a build folder for that configuration. Repeat the same process for the other configuration by selecting it from the dropdown.

0 commit comments

Comments
 (0)