-
I am currently working on an embedded system RTOS project that has multiple build targets ( basically different hardware boards and sensors). I would pass the build parameters to the make build system and then the build system includes the right libraries ( src and headers) based on the build target. Essentially what I do if I want to compile for a particular board I would use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @akshaim , this is an interesting use case. I think the way you currently doing this seems to be most safe way. If you want to speed this up, you probably need to use different build directories, so you can run the builds and the check parallel to each other. It's easy to do this way in CI environments. But for local development, you might want to write a shell/python script to do it for you. This is less effort than trying to merge the different compilation databases into one. |
Beta Was this translation helpful? Give feedback.
-
Cool. Thanks for the answer |
Beta Was this translation helpful? Give feedback.
Hey @akshaim , this is an interesting use case. I think the way you currently doing this seems to be most safe way. If you want to speed this up, you probably need to use different build directories, so you can run the builds and the check parallel to each other. It's easy to do this way in CI environments. But for local development, you might want to write a shell/python script to do it for you.
This is less effort than trying to merge the different compilation databases into one.