Page 1 of 1

Patches for $(ProjectWorkingDirectory) macro

Posted: Sat Apr 24, 2010 7:32 pm
by marfi
Hi Eran,
I've added new macro called $(ProjectWorkingDirectory) expanding current project working directory to the external tools. Please, could you check it and add to the trunk if possible?

Best regards
Michal

Re: Patches for $(ProjectWorkingDirectory) macro

Posted: Sun Apr 25, 2010 11:21 am
by eranif
Which working directory do you mean: the build working directory or the execution working directory?

When using a 'custom build' project the 'working directory' for the *build* is taken from the 'custom build' tab settings, while the working directory for execution is taken from the 'General' tab of the project settings

I think that the name of the macro should reflect this distinction.
Eran

Re: Patches for $(ProjectWorkingDirectory) macro

Posted: Sun Apr 25, 2010 3:24 pm
by marfi
I mean execution working directory taken from 'General' tab. I use it in external tools together with gprof and valgrind tools. Thanks to this macro I managed to integrate those validation tools with CL so now they work with any project. Btw, I created simple wrapper in wxPython for Gprof2Dot tool so now I'm able to create nice call graphs from information provided by gprof directly from CL ;) So, what are your proposals for name of the new macro?

Regards
Michal

Re: Patches for $(ProjectWorkingDirectory) macro

Posted: Mon Apr 26, 2010 2:01 pm
by marfi
Hi Eran,
here are the modified patches we talked about at IRC.

Regards
Michal

Re: Patches for $(ProjectWorkingDirectory) macro

Posted: Mon Apr 26, 2010 3:21 pm
by eranif
I applied a modified version of the patch

Eran

Re: Patches for $(ProjectWorkingDirectory) macro

Posted: Sun Jul 04, 2010 1:36 pm
by aprilmot
Hello Mr.Michal,
I would like to use the tool you have mentioned below for my CPP learning . Is it possible for you share this wrapper.
Btw, I created simple wrapper in wxPython for Gprof2Dot tool so now I'm able to create nice call graphs from information provided by gprof directly from CL
Thank you in Advance.
Regards
Aprilmot