Boost logo

Boost-Build :

Subject: Re: [Boost-build] Adding a parameter for use in toolchain 'using' line
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-08-21 15:15:37


On 08/21/2018 08:31 AM, Kuhl, Brian via Boost-build wrote:
> <snip>
> With something like this:
> using clang-vxworks : : $(cxx) :
> <cflags>$(cflags)
> <cxxflags>$(cxxflags)
> <compileflags>$(compileflags)
> <archiver>$(ar)
> <linker>$(linker)
> <library-path>$(library-path)
> <libraries>$(libraries)
> <crt0-obj>$(crt0-obj)
> <linkflags>$(linkflags)
> <linkflags-static>$(linkflags-static)
> <linkflags-dynamic>$(linkflags-dynamic)
> <linkflags-dll>$(linkflags-dll) ;
> But some options on the "using" line appear to be regular "features" and some don't appear to be defined anywhere as a formal feature? Where are these "special features" declared, and how is there behavior different from a regular "feature"?

They are *not* features. Even the ones that have the
same names as features are not actually features.
They are all processed by the init rule:

  handles standard cflags, cxxflags, linkflags.
  looks up the toolset specific option <archiver>

In Christ,
Steven Watanabe

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