[Scons-users] Emiter usage

pholat pholat at gmail.com
Mon Sep 19 08:16:19 EDT 2016


Hi All,

I've a tiny problem understanding how I can do different compilations of
one product depending on compilation variable.

What I need to do is:
Generate different output on different compilation variable.

Exemplary problem: one app version is build with -DDEBUG variable, and
second one is without. Now I can build DEBUG app (or one without) by
changing the Environment by hand. But I would love to build both in one run.

This unfortunately means that products with the same names are different
inside.

Do I need to create separate variable directories, with separate
environment for all the compilations ( SConscripts - about 20 of them ). Or
maybe is there any better way?

I though about Emitter, but can't see how it would solve my problem here -
so I guess it's not in use in that particular issue.

Best regards,
Adam A. Dobrowolski || pholat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160919/22e8521e/attachment.html>


More information about the Scons-users mailing list