Re: Restrictions for naming custom variant
Mateusz Loskot via Boost-build <[email protected]>
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CABUeae_Xyvox8J9BxxNY7rm7aZ+Xhp0XBgu064tcU2qQSfgVyg@mail.gmail.com> |
On 20 June 2018 at 21:18, Steven Watanabe via Boost-build <[email protected]> wrote: > AMDG > > On 06/20/2018 01:02 PM, Mateusz Loskot via Boost-build wrote: >> Hi; >> >> TL;TR: In Jamfile, can I define custom variant with name that contains dashes? >> >> For example: >> >> variant ubasan-undefined >> : release >> : ... >> ; >> >> In the docs [1], there is naming rule for main target only: >> >> A main target name may contain alphanumeric characters, dashes >> (‘-’), and underscores (‘_’). >> > > It's here: > https://boostorg.github.io/build/manual/develop/index.html#bbv2.reference.features > > "Feature values for non-free features may not contain the ‘<’, > ‘:’, or ‘=’ characters" I shall not feel silly I couldn't find it ;) > But this is incorrect because '-' is reserved for separating subfeatures. Thank you! Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build