Re: Choosing clang toolset on Windows
Steven Watanabe via Boost-build <[email protected]> Tue, 23 Jul 2019 04:17:11 -0600
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Organization | Providere Consulting, Inc. |
| Message-ID | <[email protected]> |
AMDG On 7/22/19 8:17 PM, Edward Diener via Boost-build wrote: > If I have on Windows in my user-config.jam > > import toolset ; > using clang-win : 8.0 : E:/programming/bat/cp_clangwin80.bat : etc. ; > using clang : 8.0 : E:/programming/bat/cp_clang80.bat : etc. ; > Flip the order. `using clang` is the same as `using clang-linux` The first one listed is the default. > and my invoocation is: > > b2 toolset=clang-8.0 somejam.jam > > the clang-win toolset is chosen to compile/link the tests in somejam.jam > instead of the clang toolset. I realize I can solve this by changing the > clang toolset to clang-linux, and then invoking b2 as: > > b2 toolset=clang-linux-8.0 somejam.jam > > but why should I have to do this ? > > If I just have in my user-config.jam > > import toolset ; > using clang : 8.0 : E:/programming/bat/cp_clang80.bat : etc. ; > > then > > b2 toolset=clang-8.0 somejam.jam > > does use the toolset I have. > In Christ, Steven Watanabe _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build