Root > How to... > ...enable/disable EurekaLog? > ...enable/disable EurekaLog at design-time?

...enable/disable EurekaLog at design-time?

Previous pageReturn to chapter overviewNext page   

Disabling EurekaLog means that the project will keep EurekaLog's settings, while EurekaLog will not be compiled in during project's compilation. This is useful if you want to temporarily exclude EurekaLog from the project, or if you want to have two different "with-EurekaLog" and "without-EurekaLog" build configurations:

Enabling EurekaLog means defining the EUREKALOG conditional compilation symbol;
Disabling EurekaLog means removing the EUREKALOG conditional compilation symbol.

 

Important: this article assumes that you have already added EurekaLog to your project.

 

 

Enable/disable EurekaLog at design-time

Go to Project / EurekaLog options (see also):

 

 

EurekaLog project options in IDE menu

 

Don't see EurekaLog menu items?

 

You should see the "General" page.

 


 

To disable EurekaLog:

[RAD Studio 2007 and earlier] Uncheck the "Enable EurekaLog for this project" checkbox:

 

 

EurekaLog is disabled for the whole project, RAD Studio 2007 and earlier

 

[RAD Studio 2009+] Uncheck all checkboxes in "Build Configurations" list:

 

 

EurekaLog is disabled for the whole project, RAD Studio 2009+

 

Important: some IDE versions have bugs in OTA (OpenTools API), which prevents EurekaLog from adding/removing conditional define. If your options do not change when you make changes through EurekaLog's project options dialog - please, add or remove EUREKALOG conditional symbol manually.

 

If you compile your project with EurekaLog disabled - EurekaLog will tell you about it:

 

 

IDE's Messages / Build window - this is output when EurekaLog is disabled

 

When compiling with EurekaLog disabled:

EurekaLog's units will not be included;
EurekaLog's data (options and debug information) will not be injected.

 

In other words, you project would be compiled like if EurekaLog was not installed.

 


 

To enable EurekaLog:

[RAD Studio 2007 and earlier] Check the "Enable EurekaLog for this project" checkbox:

 

 

EurekaLog is enabled for the whole project, RAD Studio 2007 and earlier

 

[RAD Studio 2009+] Check the "Base" build configuration:

 

 

EurekaLog is enabled for the whole project, RAD Studio 2009+ only

 

Important: some IDE versions have bugs in OTA (OpenTools API), which prevents EurekaLog from adding/removing conditional define. If your options do not change when you make changes through EurekaLog's project options dialog - please, add or remove EUREKALOG conditional symbol manually.

 

 

IDE's Messages / Build window - this is output from a normal successful compilation

 

When compiling with EurekaLog enabled:

EurekaLog's units will be included;
EurekaLog's data (options and debug information) will be injected.

 

 

See also:




Send feedback... Build date: 2022-03-28
Last edited: 2022-01-17
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/how_to_enable_disable_eurekalog_designtime.php