Boost logo

Boost-Build :

From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-04-27 13:27:06


I am attempting to set install location with a conditional rule as follows:

    install dummy : $(include-tree)
    : <install-source-root>.. <conditional>@hss.set-install-base ;

The rule hss.set-install-base adds a <location> property to the property list if not already added. This results in the following stack trace:

error: default build must be identical in all alternatives
error: main target is ../../../../HSS3.0/HSS_ALL/AFC/Source/dummy
error: with <conditional>@hss.set-install-base
error: differing from previous default build
/cygdrive/c/mse/proj/boost-build/build/targets.jam:453: in build-main-targets from module object(project-target)@89
/cygdrive/c/mse/proj/boost-build/build/targets.jam:268: in targets-to-build from module object(project-target)@89
/cygdrive/c/mse/proj/boost-build/build/targets.jam:250: in object(project-target)@89.generate from module object(project-target)@89
...

This worked until I merged in all the latest CVS source changes (I was behind a few months). Is the code getting requirements attributes mixed up with default-build attributes?

Thanks
Mark



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