Custom build project does not compile with post-build steps

CodeLite installation/troubleshooting forum
Action
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 21, 2008 12:51 pm
Contact:

Custom build project does not compile with post-build steps

Post by Action »

Hi,

I've got a problem regarding a custom build project.
The command line for the build process is "d:\programs\TaskingV3.5r1\ctc\bin\amk -j -w all". Furthermore no makefile-generator is used (because the makefile is already present).
These settings provide the following output when starting the build-process (which is fine):
----------Build Started--------
MESSAGE: Entering directory `D:\tmp\neuerTaskingTemp\Appl1\Appl1\Debug'
C:\WINDOWS\system32\cmd.exe /c "d:\programs\TaskingV3.5r1\ctc\bin\amk -j -w all"
----------Building project:[ App1 - Debug ]----------
Linking to Appl1.elf
----------Build Ended----------
0 errors, 0 warnings
Now I'd like to run a batch-file after the build-process. So I added the Post-Build command "D:\tmp\neuerTaskingTemp\Appl1\Appl1\ChecksumTriCore.bat". When I build the project now I get the following output:
----------Build Started--------
MESSAGE: Entering directory `D:\tmp\neuerTaskingTemp\Appl1\Appl1\Debug'
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "App1.mk""
----------Building project:[ App1 - Debug ]----------
'"mingw32-make.exe"' is not recognized as an internal or external command,
operable program or batch file.
----------Build Ended----------
0 errors, 0 warnings
So obviously the post-build command makes Codelite use mingw - which is not installed on my system and therefore cannot be used.

Is there a workaround for this problem?

Best regards
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Custom build project does not compile with post-build steps

Post by eranif »

Action wrote:o obviously the post-build command makes Codelite use mingw - which is not installed on my system and therefore cannot be used.

Is there a workaround for this problem?
Install codelite that comes with MinGW?

http://sourceforge.net/projects/codelit ... e/download

codelite only needs the mingw32-make tool for this - so you can simply delete everything else if you don't need it.
Eran
Make sure you have read the HOW TO POST thread
Action
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 21, 2008 12:51 pm
Contact:

Re: Custom build project does not compile with post-build steps

Post by Action »

Hi Eran,

thanks for the help.
As I'm not free to install too much software here I found another workaround. I created a batch-file that executes the amk-command and afterwards the other bat-file. This works just fine.

Best regards
Post Reply