Hello!
I use Lazarus under Windows on a USB key. I have several projects using Cairo. The Cairo binaries are somewhere on my USB key. I don't want to paste them in each directory.
So I wrote this batch file, that I call for example
run.cmd:
@echo off
set CAIROBIN=%~d0\applications\compilateurs\newpascal\lazarus\
set PATH=%PATH%;%CAIROBIN%
%1
So I can open a command prompt and type
run my-cairo-program.exe.
How can I use my script from the IDE? I see that it is possible, in project options, to execute a command, but I don't see how I can get the name of the executable (the parameter for my batch script).