Root > Advanced topics > Working with configurations > Using external configuration

Using external configuration

Previous pageReturn to chapter overviewNext page   

You may want to store configuration in separate .eof file for many reasons. For example, you may want to share common configuration between multiple projects. Another reason may be not having Delphi / C++ Builder project at all. For example, if you need EurekaLog configuration for Microsoft Visual Studio DLL.

 

External configuration is stored in .eof files. These files are just renamed text ini-files.

 

.eof files can be obtained:

by saving options to new file in external settings editor;
by manual creation and editing in any text editor;
by copying another .eof file.

 

Notes:

Using the same configuration for different project types is usually not a good idea. For example, sharing configuration between packages, DLL, GUI and service applications is a bad idea. Create one configuration file for each type of projects in your project group (e.g. one configuration - for GUI; another configuration - for DLLs; and so on).
Alternatively, you may want to copy configuration between projects. Use import / export functionality in this case.
Default location for saving .eof files (i.e. folder for "Export configuration" dialog) is %AppData%\Neos Eureka S.r.l\EurekaLog\Profiles\ (e.g. like C:\Users\UserName\AppData\Roaming\Neos Eureka S.r.l\EurekaLog\Profiles\).
Any .eof file placed in default location will appear as "custom" project type. .eof files outside of the default location will not appear in "Project type" option.
Apart from default location, a typical places to store .eof files are folder or sub-folder of your project.

 

 

1. Specifying external configuration file using IDE expert

You can specify external configuration file at "General" tab in the EurekaLog project options dialog:

 

 

Specifying external configuration file in EurekaLog project options

(path is relative to the project's folder)

 

Note: .eof file name can be arbitrary. It doesn't have to be the same name as the project; it doesn't have to be placed in the same folder. File path will be specified as relative to the project's folder.

 

 

2. Specifying external configuration file using command-line compiler

You can specify external configuration file via --el_config command-line option.

 

Note: ecc32/emake respects "use external configuration" option in the project (see above), so you can specify external configuration file with IDE expert - this option will be used by ecc32/emake. No need to use --el_config switch manually (but you still can use it, if you want to).

 

 

3. Using external configuration without IDE expert installed

When you don't have IDE expert installed - you can not edit EurekaLog configuration of the project from IDE. And no post-processing will be performed. However, your Project1.eof file will still be untouched (not deleted). Therefore, you can edit it with external Settings Editor tool (or just plain text editor). And this file will automatically be used if you decide to make manual post-processing.

 

 

See also:




Send feedback... Build date: 2018-11-26
Last edited: 2018-06-14
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/external_configuration.php