Note: this article is part of explaining compilation outside of IDE.
FinalBuilder has basic support for EurekaLog by having the "Use EurekaLog compiler" option.
Build Delphi project options
All you need to do is to open properties of each "Build Delphi Win32 Project"/"Build C++ Builder Win32 Project" action and to enable "Use EurekaLog Compiler" checkbox. That's all.
Note: You may need to specify "Extra Command Line Options" option. This depends on your project's configuration. See Minimum parameters needed to know about required parameters. Instead of manually specifying options - we recommend you to setup your project options as specified here and mark "Load settings from project file", "Compiler" and "Linker" checkboxes on "Project" tab in FinalBuilder action's properties dialog. You may also uncheck "Load settings from project file" options, but set up compiler and linker options in the manner which is described in the above mentioned article.
Please, refer to FinalBuilder's help file for more information: Actions Reference / Compilers / Embarcadero / Build Delphi Project.
Important Warning: Please note that FinalBuilder does NOT use MS-Build. FinalBuilder composes list of options for the compiler and puts all options into a single ProjectName.cfg file, then this file is passed to the dcc32.exe compiler. The "Use EurekaLog Compiler" option simply replaces the dcc32.exe with the ecc32.exe, e.g. --el_prepare/--el_alter_exe options are not used. What it means:
• | ecc32.exe will have no idea what build configuration and platform were used to compose the ProjectName.cfg file. E.g. your custom ProjectName_BuildConfiguration.eof option files will be ignored. In other words, FinalBuilder will always build your project with your default EurekaLog settings (unless you override settings). |
The above limitations can be workarounded by the following:
• | "Extra Command Line Options" are passed to ecc32.exe when the "Use EurekaLog Compiler" checkbox is checked, so you may add any additional EurekaLog-specific switches. Therefore, you can specify additional options for ecc32.exe (such as --el_config, --el_buildconfig, etc.; as well as arguments to dcc32.exe) via FinalBuilder's "Extra Command Line Options" option. |
• | Alternatively, you may uncheck "Use EurekaLog Compiler" option, and add new action to your FinalBuilder script. Add "Exec program" action right after your "Build Delphi Win32 Project" action. Insert a call to ecc32/emake with your custom options to this new "Exec program" action. |
See also:
Send feedback...
|
Build date: 2024-12-19
Last edited: 2023-03-07
|
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation.
We do not use your e-mail address for any other purpose.
We will remove your e-mail address from our system after the issue you are reporting has been resolved.
While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback.
After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.
Permanent link to this article: https://www.eurekalog.com/help/eurekalog/finalbuilder.php
|
|