Boost logo

Boost Users :

Subject: [Boost-users] [boost] [bjam] combinations of options
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2016-08-29 11:31:00


Hello all,

When I use bjam the following will compile my code with combinations
of MSVC, GCC, and CLang for both shared and static linking:

    $ bjam toolset=msvc,gcc,clang link=shared,static # (1)

Is there a way to define a variant, target, or something else in the
Jamfiles so that I can shortcut the above by typing just the variant
target at the command line:

    $ bjam all_toolset_link_combinations # equivalent to (1) above

I am asking this just for convenience because I have a feature like
toolset but with 30+ values so it'd be nice to shortcut it to a single
target on the bjam command line.

Thank you.
--Lorenzo


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net