Re: Upgrading the lexer
Fabien Chêne via Boost-build <[email protected]>
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CAFH4-dgW+ZmEdtZjCB9Ya4bXX6w8yZK2sjtzdeaDZLF8tz58NQ@mail.gmail.com> |
Hi, Le ven. 9 févr. 2018 à 17:06, Steven Watanabe via Boost-build <[email protected]> a écrit : > > AMDG > > On 02/09/2018 06:25 AM, Rene Rivera via Boost-build wrote: > > On Fri, Feb 9, 2018 at 7:07 AM, Fabien Chêne via Boost-build < > > [email protected]> wrote: > > > >> > >> I was wondering if it were possible to extend the bjam grammar so that: > >> > >> rule lib ( name : sources * : requirements * ) > >> > >> can be called either (possibly using named arguments coming from the > >> rule definition): > >> lib foo : a.C b.C : requirements <define>XXX ; > >> lib foo : sources a.C b.C : requirements <define>XXX ; > >> lib foo : requirements <define>XXX : sources a.C b.C ; > >> lib sources a.C b.C : name foo : requirements <define>XXX ; > >> > >> What do you think ? > >> > > > > I already implemented this in develop. It is implemented > as a library extension rather than a language extension, > so rules must explicitly make use of it: > > param.handle-named-params sources requirements > default-build usage-requirements ; Sorry to answer that late (and thank you for doing it), but is your library extension now available for a "simple" user ? Cheers, -- Fabien _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build