[Scons-users] display message on build

Brady Johnson bradyallenjohnson at gmail.com
Thu Jun 21 12:51:56 EDT 2012


Phil,

That's a Configure Context and is part of the SCons Autoconf Functionality
as explained here:

http://www.scons.org/doc/production/HTML/scons-user/c4132.html#AEN4142

Here's an example of how to create one:

env = Environment()
conf = Configure(env)

Regards,

Brady

On Thu, Jun 21, 2012 at 11:51 AM, Kraus Philipp
<philipp.kraus at flashpixx.de>wrote:


> Hello,

>

> the autoconf tools uses a call like

> context.Display("Cannot check for library %s: %s\n" % (lib_name, msg))

>

> can I use this call myself in the main SConstruct script? How can I use

> this call?

> I don't find the context object within the env object.

>

> Thanks

>

> Phil

> _______________________________________________

> 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/20120621/d039cec3/attachment.htm>


More information about the Scons-users mailing list