Can't build custom targets from project outline panel #643
Labels
Feature: build
Feature: Project Outline View
fixed (release pending)
fixed in pre-release and is pending official release
Brief Issue Summary
Custom targets which build fine from the command palette can't be built in the outline panel.
Expected:
I expect to be able to right click on a custom target and be able to build it, like I can for executable and library targets.
Apparent Behavior:
However, I can only select "run utility" which seems to do a full rebuild of the ALL target and doesn't even build the custom target. I can select and build the custom target just fine using the "Cmake: Build a target" command.
CMake Tools Log
What I get:
What I should get:
Developer Tools Log
Platform and Versions
Other Notes/Information
I was hoping to use this in a larger embedded project, with several custom targets to upload different binaries to the microcontroller. The binary is generated as an executable target, and the custom target calls openocd with a script to flash the microcontroller.
I cannot share that project at the moment, but I have made a minimal example that builds a hello world program (target name: hello) and has a custom target to run the program (target name: run) instead.
cmake-tools-custom-command-bug.zip
The text was updated successfully, but these errors were encountered: