Boost logo

Boost-Build :

Subject: Re: [Boost-build] Conditional src files
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-04 21:05:17


Anant Rao wrote:
> How is it to handle diff files on diff OSs using bjam?
> What I mean is - say, file File1.cpp exists only Windows and File2.cpp exists only on Linux.
> Using a single Jamfile, is there a way to handle it i.e., conditionally add the files to the build, depending on the OS?

You can use conditional features:


In Christ,
Steven Watanabe

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