Boost logo

Boost-Build :

From: Uri Moszkowicz (uri_at_[hidden])
Date: 2020-10-29 19:29:52


Hi,
I have executables with compiler specific features work, like below.

  exe myExe : src1.cc src2.cc : <toolset>gcc-6.0.0:<define>DEFINE1
  exe myExe : src1.cc src2.cc : <toolset>gcc-10.0.0:<define>DEFINE2

I'm trying to do the same with a make target but it's not working.

  make myMake : myExe : @user-config.link_install :
    <toolset>gcc-6.0.0:<define>DEFINE1
    <toolset>gcc-10.0.0:<define>DEFINE2

With these lines, I get "error: default build must be identical in all
alternatives".

Why doesn't this work for make like it does for exe?

Thanks,
Uri



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk