Vote UpVote

Interesting trick posted by Lars Fosdal on keeping IDE user specific defines

The Wiert Corner – Via Lars Fosdal: In Tools|Options, Environment Options, Environment Variables – under User Overrides, add a new override Variable name: DCC_Define Variable value: billmeyer This causes a define for billmeyer to exist for anything that you compile in your IDE, across all units, all projects. Which means you can sprinkle your code with {$ifdef billmeyer}{$hints on}{$endif} or {$ifndef billmeyer}{$hints off}{$endif} or even isolate out the parts of the code that currently is in development so that it doesn’t get built in the build system. I believe it was +Uwe Raabe who revealed this ...
Favorite? Off-Topic? jpluimers @ 2016-07-13 07:00


Visits: 1256
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)