[Scons-users] Eclipse-friendly compile error output

Andrew Featherstone andrew.featherstone at gmail.com
Fri Aug 22 05:54:30 EDT 2014


Hi Will,

It sounds like you want to use the duplicate=0 option for your variant  
directories.
http://www.scons.org/doc/production/HTML/scons-user.html#idp24022224

Andrew

On Fri, 22 Aug 2014 03:50:09 +0100, Will Rouesnel <w.rouesnel at gmail.com>  
wrote:

> So I'm building a project using variant directories for debug and  
> release.
>
> The problem is, this means gcc doesn't build my source files from their
> original locations - it builds them from build/debug/etc/source.cpp and
> the like.
>
> This would be fine, except it very much slows down (and adds a hazard)
> to my workflow, since in Eclipse I can't just click the error and go
> straight to the correct *original* source file. Worse, if I forget this,
> it'll link me to the debug source file, which will be overwritten when I
> recompile.
>
> I know I can use something like the CXXCOMSTR= variables to change how
> building each file is output. Can I do the same for error message spew
> from the compiler, so I can use a regex to change the given filepath
> back to the original file - and thus let the Eclipse error parser work?
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users


More information about the Scons-users mailing list