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

Question about hierarchical builds

From: Paul Cohen <paco_at_seibostudios.se>
Date: Tue, 20 Jan 2009 07:27:09 -0800 (PST)


A trivial (hopefully) question. I currently have a project directory structure like this


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



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-20 23:29:34 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.