[Scons-users] embed AStyle.exe in SConse

William Deegan bill at baddogconsulting.com
Fri Jun 21 11:15:17 EDT 2013


Rob,

On 06/21/2013 07:32 AM, Rob Deckers wrote:

>

> Hi,

>

> I would like to embed AStyle.exe (Artistic Style) within my SCons

> environment.

>

> AStyle.exe is a beautify tool that adjusts the .cpp and .h files itself.

>

> I would like to run this program with every build over the adjusted files.

>

> One of the problems I encounter is that I'm not sure what to specify

> as source or target, because the source IS the target.

>


There's really no build system which handles a source being the same as
the target.
That said, you could add a pseudo builder to do your compilations and
add the AStyle.exe as a pre-action.
That way it would only be run on files which change.


-Bill

>

> Best regards,

>

> Rob Deckers

>

> ** Disclaimer **

>

> This e-mail, including any attachments, may include proprietary and

> confidential information of Vanderlande Industries and may only be

> read by the person or those persons to whom it is addressed.

> This document is forwarded to you in such a form (e-mail) that

> Vanderlande Industries cannot guarantee the completeness and/or

> correctness of its contents and information.

> If you have received this e-mail message in error, please notify us

> immediately. Please also delete this document from your computer.

> This document may not be reproduced, copied, distributed, published,

> modified, or furnished to third parties, without the prior written

> consent of Vanderlande Industries.

>

>

>

> _______________________________________________

> 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/20130621/70db0f9a/attachment.htm


More information about the Scons-users mailing list