Boost logo

Boost-Build :

Subject: [Boost-build] B2 specifying toolsets and options
From: pbristow_at_[hidden]
Date: 2019-05-02 13:33:27

I'm uncertain about providing options for various configurations.

If I have a user-config.jam that has specifications for toolset of gcc, msvc,

Clang AND clang-win

And more than one version of Clang, say 8.0.0 and 7.1.0

And I am specifying various options.

Can/should I use <toolset>clang-win

Like this



To obtain the different specification formats, one MSVC and the other Clang


<toolset>clang:<cxxflags>-v apply to both clang-win and clang?

Can I also fully qualify with compiler version to provide different options for
different versions?

For example

<toolset>clang-win-7.0.1: :<cxxflags>/std\:c++14
<toolset>clang-win-8.0.0: :<cxxflags>/std\:c++latest



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at