You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
option(MBED_GENERATE_VSCODE_CONFIG"If TRUE, Mbed will generate launch.json and tasks.json files allowing you to flash and debug code from the IDE"TRUE)
@@ -16,7 +21,7 @@ if("$ENV{CLION_IDE}" AND MBED_UPLOAD_SUPPORTS_DEBUG)
16
21
message(FATAL_ERROR"In order to generate CLion configuration files, Mbed CE needs to know the name of the current CLion build profile. This name is the string typed into the Name textbox under Settings > Build, Execution, Deployment > CMake. Pass this name with '-DMBED_CLION_PROFILE_NAME=<name>'.")
17
22
endif()
18
23
19
-
elseif(CMAKE_EXPORT_COMPILE_COMMANDSANDMBED_UPLOAD_SUPPORTS_DEBUG) # TODO: Is this actually a reliable way of detecting VS Code? Not sure if it will create false positives.
24
+
elseif(CMAKE_EXPORT_COMPILE_COMMANDSANDMBED_UPLOAD_SUPPORTS_DEBUGANDMBED_GENERATE_VSCODE_CONFIG) # TODO: Is this actually a reliable way of detecting VS Code? Not sure if it will create false positives.
20
25
message(STATUS"Mbed: Detected VS Code IDE, will generate VS Code debug configurations")
0 commit comments