Boost logo

Boost-Build :

Subject: Re: [Boost-build] how to add include directories for compile but not for scan
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-04-20 18:58:58


Precompiled headers feature optimizes the compilation process. I am
looking for feature that optimizes the dependency checking (scanning)
process.

For example instead:
    lib prebuilt_xerces
      :
      :
        xerces/lib/xerces-c_static_3.lib
      :
      :
        <include>xerces/include
        <library>advapi32
        <define>XERCES_STATIC_LIBRARY
      ;

I to be able to do:
...
       <compile-include>xerces/include
...

or something, that will result in all the headers in xerces/include to
be ignored during the dependency scanning process, but xerces/include
still to be added in the list of additinal include directories when
the compiler is executed.

Thanks,
George

On Fri, Apr 20, 2012 at 12:56 PM, Nogradi, Chris
<Chris.Nogradi_at_[hidden]> wrote:
> Take a look at the precompiled headers feature. I have not yet used it but it may be what you are looking for.
>
> Chris
>
> -----Original Message-----
> From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of George Georgiev
> Sent: Friday, April 20, 2012 2:28 PM
> To: boost-build_at_[hidden]
> Subject: [Boost-build] how to add include directories for compile but not for scan
>
> Hi,
>
> I am working on project depending on very big number of external
> libraries. I very rarely (never) change the header files for these
> libraries.
>
> Is there a way to specify some of the <include>s to be added to the
> compiler instructions but to be ignored from bjam scan.
>
> Thanks,
> George
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>
> This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
>
> Thank you for your cooperation.
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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