Macros for PreBuild

General questions regarding the usage of CodeLite
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Macros for PreBuild

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Macros for PreBuild

Post 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
Make sure you have read the HOW TO POST thread
Post Reply