Subject: [Boost-build] how to conditionally build & install ?
From: Avi Bahra (avibahra_at_[hidden])
Date: 2011-05-04 04:38:43
I need to conditionally build and install a executable,
but not sure how I would do this in bjam.
Ideally I need to detect if x-windows libs are available,
alternatively I could only build/install if the address model
is 32 bits
Current in my root jam file I have:
# only build view if x-windows/or 32 bits
build-project view ;
import os ;
local INSTALL_DIR = [ os.environ ECFLOW_INSTALL_DIR ] ;
alias install :
explicit install ;
Any help appreciated.
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