|
Boost-Build : |
From: Wink Saville (wink_at_[hidden])
Date: 2003-11-03 23:46:23
Hello all,
I'm learning boost.build and would like advice on how to setup a project
where I'm going to be cross compiling the same program for multiple
platforms using various toolsets. The simplest example would be a single
source that needs to be compiled using multiple toolsets:
exe main : main.c : <toolset>gcc ;
exe main : main.c : <toolset>msvc ;
But I'd really like to have more control from the command line, for example;
sometimes I'd to compile only with gcc other times msvc and still others
both. Of course reality is more complex with multiple sub-projects some
which are applicable to only a single platform and others for both. Are
there any examples that might provide a reasonable model?
Thanks,
Wink Saville
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