Page 1 of 1

Custom build project does not compile with post-build steps

Posted: Fri May 27, 2011 3:18 pm
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

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

Posted: Sat May 28, 2011 7:58 am
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

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

Posted: Mon May 30, 2011 10:47 am
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