On Mon, 11 Aug 2014 16:42:56 +0300
FreeMan <[email protected]> wrote:

>[...]
> Target file name (-0): apps/Myproject_$(TargetOS) result is 
> "*Myproject_linux*"
> In code:
> ...
> S := Format('%s_%s.zip', ['*Myproject_*', {$I %FPCTARGETOS%}]); result 
> is "*Myproject_Linux*"
>[...]
> why lazarus change to lowerCase fpc constant ?

The TargetOS macro is used for file paths. To avoid case sensitivity problems 
the
macro is always lowercase.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to