Skip to content

Run multiple build targets from multiple files #328

Description

@lukebeddow

Hi,

I have been using the vscode makefile extension on linux with great results, however I would like to request a feature.

I have a main file called Makefile which builds my targets, for example "all debug clean"

I also have a file called buildsettings.mk which is another makefile which is included in the primary makefile, which offers additional targets, for example "pc laptop".

I would like to set the default make configuration in the side panel to: make all laptop

There are two current issues with this:

  • I cannot see how to set multiple targets
  • The targets from the included makefile (buildsettings.mk) do not appear in the drop down suggestions

I would suggest both of these issues could be fixed with a new option in the dropdown box called "custom" which the user can enter any text of their choice which will be run on the command line, for example "all laptop" for my case.

Many thanks in advance for any help you can give me with this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions