[Scons-users] Out of project tree builds
William Deegan
bill at baddogconsulting.com
Mon Oct 29 12:58:22 EDT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121029/c318f868/attachment.html>
More information about the Scons-users
mailing list