PDA

View Full Version : emake.exe


WWeber
28-Nov-2008, 10:59 PM
Why is it necessary that the project file has to have the extension .cbproj?
It took me a lot of time to figure this out - I always thought the exe file was not right compiled/linked!
I don't want to use Eurekalog in the IDE but only on command line.

admin
02-Dec-2008, 10:24 AM
Hi WWeber,

try to use the --el_config emake.exe option (but you must add the ExceptionLog.pas unit to your project).

See here:
http://www.eurekalog.com/docs/command_linecompiler.html

WWeber
03-Dec-2008, 07:51 AM
As the doc says

EurekaLog command line compiler add the following new options:

• "--el_config", use it to compile your project with a different EurekaLog option file;
Example: --el_config"new_eurekalog_optionfile"

• "--el_alter_exe", use it not to compile your project but only to add the EurekaLog debug info into a just compiled project (you can optionally specify the compiled file full output);
C++Builder example: --el_alter_exe"MakeFile.mak" or --el_alter_exe"ProjectFile.bpr[;ProjectFile.exe]"



I'm assuming "--el_config" does a build process. I actually want to simply add the debug info w/o any compile/build. Even in the example there is not mentioned, that the "ProjectFile" should have a specific extension.
Well, I fixed this by just giving the eureka_option_file the extension ".cbproj".

admin
11-Dec-2008, 06:43 PM
Hi WWeber,

excuse me but I don't understand what is your real problem to simply using the emake.exe command-line compiler with the simple project file name.

Can you explain the problem with more details to me, please? :)

Thank you!

WWeber
14-Dec-2008, 12:06 AM
Hi WWeber,

excuse me but I don't understand what is your real problem to simply using the emake.exe command-line compiler with the simple project file name.

Can you explain the problem with more details to me, please? :)

Thank you!

I have no Eurekalog options in the project file! The whole section you automatically add is not existing there, as I removed it. This way the project file is an original c++builder file.

I created a so called "project file" by hand, just holding the Eurekalog section. This file I named "Eureka.set". But this file can't be used with emake.exe as emake expects a .cbproj extension. So I wondered why it is absolutely necessary that emake requires this specific extension.

admin
15-Dec-2008, 04:41 PM
Hi WWeber,

can you send to my your project file, EurekaLog Options file and script used to build your project, please?