[jamming] Jam dependency scanning with C++
Craig Kadziolka
craigk at wp.pl
Thu Jul 20 02:09:49 PDT 2006
> ---<snip>---
> HDRS
> Directories to be searched for header files. This is used by the
> Object rule to:
> set up search paths for finding files returned by header scans
> add -I flags on compile commands
> ---<snip>---
>
> You can set this globally or on source by source basis. I do both. You
> can easily check if it's working by using the -dd flags and check for
> "Includes" lines. A smart thing is to set them relative to TOP using:
>
> HDRS +=
> [ FDirName $(TOP) my_source_inc ]
> [ FDirName $(TOP) my_other_inc ] ;
>
Thanks to everyone who replied, you were all a big help. I have got it
working now, using HDRS as suggested.
Thanks again,
Craig.
More information about the jamming
mailing list