Boost logo

Boost-Build :

Subject: [Boost-build] Conditional src files
From: Anant Rao (arao_at_[hidden])
Date: 2009-11-04 20:01:44


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?

Thanks a lot in advance,

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