-
Notifications
You must be signed in to change notification settings - Fork 16
make cmake profiles selectable #23
Copy link
Copy link
Open
Description
This is a really great tool for cmake projects!
Could you make for us to select a one profile between multiple cmake profiles such as the following example?
e.g.) It would be very useful if we can select 'cmake profile A' or 'B' in the command palette.
"cmake": [
{
"name": "cmake profile A"
"build_folder": "$folder/build-A",
"env": {
"CC": "clang",
"CXX": "clang++",
"ENV_A": "AAA",
},
"command_line_overrides":
{
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
},
"cmake_debug": true,
},
{
"name": "cmake profile B"
"build_folder": "$folder/build-B",
"env": {
"CC": "/opt/local/bin/arm-none-eabi-gcc",
"CXX": "/opt/local/bin/arm-none-eabi-g++",
"ENV_B": "BBB",
},
"command_line_overrides":
{
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_TOOLCHAIN_FILE": "/opt/local/share/arm_toolchain.cmake",
},
"cmake_debug": true,
},
]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels