Boost logo

Boost-Build :

From: Dario Senic (dario.senic_at_[hidden])
Date: 2007-05-02 06:45:44


Hello,

I have an application consisted of few subprojects. The application can
be built in client and admin mode, so I defined feature named 'mode' to
handle various build requests. The problem is that one of subprojects
can be built only in admin mode. Let's say I have following directory
structure:

        project/
           |
           +--Jamroot
           |
           +--app1/
           | |
           | `Jamfile
           |
           +--app2/
           | |
           | `Jamfile
           |
           +--admin-mode-only/
           | |
           | `Jamfile

Every Jamfile contains definition for one target. If I execute 'bjam
client admin' command in project folder I want admin and client versions
of app1 and app2 to be built but only admin version of admin-mode-only
appliction. If I execute 'bjam client' command in the same directory I
want app1 and app2 targets to be built and admin-mode-only target to be
ignored. Is it possible to do something like that?

Thanks,
Dario


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