Hi all,
I would like to know is there a function in VSCode has a similar function to set the option profile, similar to CLion's Profile setting?
I have a single embedded project that has a few different hardware to support, like this:

Assuming a project called Foobar and I have 3 different boards with different microcontrollers on it. In the profile list, it has 6 different profiles, every two matches a different board (Debug or Release). Then for board Baz, the profile has a CMake option -DFOOBAR_T ARGET=BAZ-BOARD.

Then later if I need to select one compile target, I just need to pick the profile from the list at the top right corner and start the build.
Is there a similar way to do so in this CMake plugin? Thanks in advance!
Regards,
Jackson
We have a concept called "variants" where you can configure something similar. Take a look at this documentation and let us know if that will address your question.
https://vector-of-bool.github.io/docs/vscode-cmake-tools/variants.html
@bobbrow Thanks!
Most helpful comment
We have a concept called "variants" where you can configure something similar. Take a look at this documentation and let us know if that will address your question.
https://vector-of-bool.github.io/docs/vscode-cmake-tools/variants.html