Page 1 of 1

Macros for PreBuild

Posted: Tue Aug 19, 2008 2:54 pm
by frank_frl
Hi Eran,

first of all, thanks for such a great IDE.
I was looking a while for an alternative for my VC2005 + VisualAssist combination. I tested Code::Blocks (seems to become a never ending story), NetBeans IDE6.5 (buggy) and Eclipse. The only code completion, which is coming close to VisualAssist I found in CodeLite. :D

VisualAssist was the only reason I used the MS IDE and the MS compiler.
So I could finitely say goodbye to all the MS stuff which has driven me almost crazy in the last years and do now my work with Dialog::Blocks, CodeLite and MinGW.

Now my question:
Is there a macro for the current project path? I would need that for a PreBuild step.


Thanks,

Frank

Re: Macros for PreBuild

Posted: Tue Aug 19, 2008 4:14 pm
by eranif
There is $(ProjectPath) but it is not available under PreBuild

However, the way the build system of codeite is working, is to set the working directory to the project path and then it executes the build command
So, you are always under the current project directory when executing build of a project.

Eran