[Lazarus] cross platform pre-compile processing
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Jun 20 10:40:33 CEST 2015
On Sat, 20 Jun 2015 09:46:15 +0800
Xiangrong Fang <xrfang at gmail.com> wrote:
> Hi,
>
> I need to run a program before compile my program, so I set it in lazarus's
> project settings. It works fine, but, how can I make it a platform
> dependent config, i.e.
>
> run "prepare" if the project is compiled under linux, and run "prepare.exe"
> if it is compiled on Windows.
$MakeExe(prepare)
See here
http://wiki.lazarus.freepascal.org/IDE_Macros_in_paths_and_filenames
Mattias
More information about the Lazarus
mailing list