PDA

View Full Version : Using command line compiler


Fredrik
24-Apr-2008, 10:48 AM
Hi!

If I'am using build server where I compile my projectgroup and want to include EurekaLog in some of the projects. What do I need for this to be success full?

What I have understand according to the help file is that I should run ecc32.exe instead of dcc32.exe but the examples is using dpr files.
Does this work without problems when using Delphi 2007 and groupfiles there (groupproj).
Do I have to install EureakLog on the build server or is it enough if ecc32.exe is present.
(Eureka source is included in the projects).
Any prerequsits for it to locate the ordinary dcc32.exe?
Any other pitfall when compiling like this?

Regards
/Fredrik

admin
30-Apr-2008, 04:56 PM
Hi,

try to simply add as post-build event (in the Project Options, not EurekaLog options) the following code:


"$(BDS)\Bin\ecc32.exe" --el_alter_exe"$(PROJECTPATH);$(OUTPUTPATH)"


and use to build your project the MSBuild.


msbuild.exe myproject.dproj

Unregistered
07-Aug-2008, 10:03 AM
Do we need to do this for every project?

I am using C++ Builder 2007, and we use msbuild on the command line.

So for every project, we need to add the following Post build event?

"$(BDS)\Bin\emake.exe" --el_alter_exe"$(PROJECTPATH);$(OUTPUTPATH)"


Is there not some way we can get this to happen automatically?

Thanks

admin
08-Aug-2008, 10:02 AM
Hi,

yes you need add it to every project.

I'm working to add it automatically! :)