How to make all projects in a solution built one after one automatically ?
how to configurate the STM32cubeIDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-02 5:17 PM
we set up three projects for one solution . these projects share the same driver and third-party code. what we want to ​do is that ,when we build one project ,the other projects would be built one after one automatically after the first one . how to configurate the STM32cubeIDE? or any script ?
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-03 5:56 AM
What Pavel suggests can work. It will build the active build configuration for all projects that are currently "open" in the workspace.
Another approach if you have more than the three projects in the workspace. But want to make sure that ONLY these three projects are built in a well-defined order is to setup dependencies between the projects.
Select the project which is built last in your chain. Properties > C/C++ General > Paths and Symbols > References.
Here you can select which project and which build configuration depend on and use "Move Up/Down" to select order.
That said, Pavels solution may be simpler assuming your workspace contains only those three projects or any other projects are "closed".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-02 6:21 PM
Window -> Preferences -> General -> Workspace -> Build order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-03 5:56 AM
What Pavel suggests can work. It will build the active build configuration for all projects that are currently "open" in the workspace.
Another approach if you have more than the three projects in the workspace. But want to make sure that ONLY these three projects are built in a well-defined order is to setup dependencies between the projects.
Select the project which is built last in your chain. Properties > C/C++ General > Paths and Symbols > References.
Here you can select which project and which build configuration depend on and use "Move Up/Down" to select order.
That said, Pavels solution may be simpler assuming your workspace contains only those three projects or any other projects are "closed".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-07 10:07 PM
thanks for your help
