[Scons-users] Eclipse-friendly compile error output

Russel Winder russel at winder.org.uk
Mon Aug 25 11:13:23 EDT 2014


On Fri, 2014-08-22 at 12:50 +1000, Will Rouesnel 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.

Are you using SConsolidator?  http://www.sconsolidator.com/

> 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?



-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140825/d7df6f10/attachment.pgp>


More information about the Scons-users mailing list