[Scons-users] Out of project tree builds

Gary Oberbrunner garyo at oberbrunner.com
Mon Oct 29 15:19:37 EDT 2012


same here.

-- Gary

On Mon, Oct 29, 2012 at 12:58 PM, William Deegan
<bill at baddogconsulting.com>wrote:


> Rob,

>

> +1 that's what I normally do as well.

>

> -Bill

> On Oct 29, 2012, at 9:07 AM, "Managan, Rob" <managan1 at llnl.gov> wrote:

>

> Hi there,

>

> Personally I like the approach of moving up one directory and then

> building alongside the sources; similar to Luc Bourhis suggestion.

>

> Project

> Sconstruct

> build1/

> build2/

> src/

> SConscript

>

> That way I can build for different platforms, opt, debug,…. With one

> Sconstruct file…

>

> On 10/27/12 8:57 PM, "Luc Bourhis" <luc_j_bourhis at mac.com> wrote:

>

> Hi Russel,

>

> One of the problems this person had was not being able to do "out of

> project tree builds".

>

>

> The easiest is probably, assuming the following layout as an example,

>

> project / build

> / src / SConscript

>

> is to create a SConstruct file in build that contains

>

> Repository("../src")

> SConscript("SConscript")

>

>

> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

> Rob Managan email managan at llnl.gov

> LLNL phone: 925-423-0903

> P.O. Box 808, L-095 FAX: 925-422-3389

> Livermore, CA 94551-0808

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>



--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121029/4c247a9e/attachment.html>


More information about the Scons-users mailing list