[Lazarus] Environment variables in IDE's search path

dmitry boyarintsev skalogryz.lists at gmail.com
Sat May 16 11:32:57 CEST 2009


> Yes, but does Delphi IDE have built-in macros like Lazarus IDE?
> $(TargetOS), etc... Lazarus IDE needs need to distinguis between
> marcos and environment variable.  I guess Delphi IDE doesn't (saying
> that, the last Delphi IDE I used was D7 which didn't).

There should be no problems mixing both built-in macroses and
environment variables.
Built-in macroses are prior.
So, if i declared environment variable, named TargetOS, and it cannot
be treated properly by Lazarus, then it's clearly my problem, and i
should rename the variable.
If $(var_name) is not found among built-in macroses, environment
variables should be checked for var_name.

thanks,
dmitry




More information about the Lazarus mailing list