[jamming] Problem with SubInclude Rule

Matt Armstrong matt at lickey.com
Wed Feb 12 15:57:40 PST 2003


"Narayanan Balakrishnan" <narayanan_b at hotmail.com> writes:

> If the SubInclude rule is called in a Jamfile enclosed in an if (..)
> condition, the following error is generated:
>
> Top level of source tree has not been set with SubDir
>
> Consider the following example:
>

[...]

> then the error message "Top level of source tree has not been set with
> SubDir" is seen. Is this is a known issue? I am using version 2.0.5 of
> jam on solaris 2.7.

Did you try the exact example you posted?  I did and did not run into
a problem.  Also 2.0.5 is a very old release, you might try 2.4.


-- 
matt



More information about the jamming mailing list