You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Cohen <pa...@seibostudios.se> on 2009/01/20 15:27:09 UTC
Question about hierarchical builds
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@subversion.tigris.org].
RE: Question about hierarchical builds
Posted by Paul Cohen <pa...@seibostudios.se>.
Oops. Wrong list. Sorry for wasting bandwidth.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1043341
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Question about hierarchical builds
Posted by Hari Kodungallur <hk...@gmail.com>.
Did you intend to send this to the scons mailing list? :-)
thanks,
-Hari
On Tue, Jan 20, 2009 at 7:27 AM, Paul Cohen <pa...@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@subversion.tigris.org].
>