[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Question about hierarchical builds

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Tue, 20 Jan 2009 14:32:26 -0800

Did you intend to send this to the scons mailing list? :-)

thanks,
-Hari

On Tue, Jan 20, 2009 at 7:27 AM, Paul Cohen <paco_at_seibostudios.se> wrote:

> Hi,
>
> A trivial (hopefully) question. I currently have a project directory
> structure like this
>
> /foo
> /bar
> /bld
>
> Where directories 'foo' and 'bar' are separate subsystem directories, each
> having one or more SConstruct/SConscript files. The last directory 'bld' is
> where I want to have the "master" Construct file for the entire project.
> However it seems I cannot have statements like:
>
> SConscript ("../foo/SConscript")
>
> in my "master" SConstruct file. SCons simply seems to ignore the SConscript
> files, at least it ignores the targets in those files.
> However if i put my "master" SConstruct file in the top directory I can
> write:
>
> SConscript ("foo/SConscript")
>
> and everything works fine. Is there a problem with using '..' in SConscript
> paths and/or must the subsidiary SConscript files reside in proper sub
> directories of the "master" SConstruct file?
>
> I'm on Ubuntu 8.04 using SCons v0.97.0d20071203.r2509
>
> /Paul
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1038127
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_subversion.tigris.org].
>
Received on 2009-01-20 23:34:43 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.