bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64571] Add option to print targets


From: Paul D. Smith
Subject: [bug #64571] Add option to print targets
Date: Sun, 7 Jan 2024 17:34:42 -0500 (EST)

Follow-up Comment #13, bug#64571 (group make):

It depends on what you mean by "this context".  If what we are suggesting is
to use this new JSON output format so that we don't need to create an option
to print targets, then it's very relevant since the goal of this option is to
provide input for tools that want to list the possible goal targets (for
command line completion or IDEs).

I think that the way it will have to work is that we don't try to rebuild
makefiles when listing targets.  I don't see any feasible alternative given
the use-case referred to here.  This means that the list of targets may be
incomplete in some situations but it should be rare that a target you'd really
want to add to the command line would not be listed, except in the most
extreme cases.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64571>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]