On 26 Jul 2009, at 17:13, Andrew Brunner wrote:

I've got a situation where I'm wanting to concatenate a path from the
environment with a string to specify the path to the actual file to
include when building.

PATH_TO_DATA_INCLUDES = '/mnt/Source/Includes/Data/

{$i %PATH_TO_DATA_INCLUDES%+definitions.inc}

Is there any way to get FPC to join the two entries together to create
a single include reference?

No. Although not identical, you can use the - Fi"$PATH_TO_DATA_INCLUDES" command line parameter to add that directory to the include files search path.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to