bmd-studio / stm32-for-vscode

STM32 extension for working with STM32 and CubeMX in VSCode
MIT License
195 stars 27 forks source link

How to add commands to make a static library? #183

Open majidnow opened 2 months ago

majidnow commented 2 months ago

Hi Is there a way to add more command like 'ar' to make a library?

Thanks

jortbmd commented 2 months ago

Thanks for opening up a new issue! As of yet there is no way to build a libarary. It is a goal of mine in the long term to support libraries/packages, however for now this is outside of the scope of this extension. A quick workaround would perhaps be creating a separate makefile and creating an additional makefile rule in the extension which would build it. Hope this helps.