Recent

Author Topic: Compiler Custom Options  (Read 1870 times)

Hafedh TRIMECHE

  • New Member
  • *
  • Posts: 32
Compiler Custom Options
« on: March 17, 2016, 08:14:08 am »
Wanting to integrate these conditionals into  Compiler Options --> Conditionals (DevDir is set to DevDir:=D:\Dev via a Macro)
Code: Pascal  [Select][+][-]
  1. if TargetOS='wince' then
  2. begin
  3.   UnitPath += ';$(DevDir)\Lib\IndyTiny';
  4.   IncPath += ';$(DevDir)\Lib\IndyTiny';
  5. end
  6. else
  7. begin
  8.   UnitPath += ';$(DevDir)\Lib\Indy\Core;$(DevDir)\Lib\Indy\Protocols;$(DevDir)\Lib\Indy\System';
  9.   IncPath += ';$(DevDir)\Lib\Indy\Core';
  10. end;
  11.  

But these conditional are ignored and the Unitpath isn't expanded.

 

TinyPortal © 2005-2018