From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2008-07-23 05:25:54
Hi Emil !
On Wednesday 23 July 2008 03:43:08 Emil Dotchevski wrote:
> I want to add nVidia CUDA as a toolset in boost build. I need some help.
> 2. Some of nvcc options are similar to a C compiler, for example you
> can pass preprocessor definitions. I think it's a good idea to pass
> whatever #defines would be passed to the C compiler. I'm not sure how
> to do this.
Take a look at tools/qt4.jam for an example. Current trunk in lines 498ff
contains the necessary code to get DEFINES and INCLUDE to the moc.
| # Get <include> and <defines> from current toolset.
| flags qt4.moc INCLUDES <include> ;
| flags qt4.moc DEFINES <define> ;
This should get you started. I think getting the rest of the flags should be
> I would really appreciate if someone can give me step-by-step
> instructions since I'm really new to modding boost build.
Sorry, but that is all that I know ;-))
Hope this little helps.
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * juergen.hunold_at_[hidden] !
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