bmd-studio / stm32-for-vscode

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

C++20 Modules Support #100

Closed howroyd closed 2 years ago

howroyd commented 2 years ago

Feature request, if this is reasonable.

C++20 modules would be very beneficial to have. Lots of info online as to why.

Is it possible using the current Makefile structure of this extension?

jortbmd commented 2 years ago

As far as I can tell there should not be a reason for it not to be supported. You should be able to add the -std=c++20 to the cxxFlags in the STM32-for-VSCode.config.yaml and as far as I can tell it should then support modules. If there is anything else required please let me know.