Wanting to integrate these conditionals into Compiler Options --> Conditionals (DevDir is set to DevDir:=D:\Dev via a Macro)
if TargetOS='wince' then
begin
UnitPath += ';$(DevDir)\Lib\IndyTiny';
IncPath += ';$(DevDir)\Lib\IndyTiny';
end
else
begin
UnitPath += ';$(DevDir)\Lib\Indy\Core;$(DevDir)\Lib\Indy\Protocols;$(DevDir)\Lib\Indy\System';
IncPath += ';$(DevDir)\Lib\Indy\Core';
end;
But these conditional are ignored and the Unitpath isn't expanded.