On Sat, 20 Jun 2015 09:46:15 +0800 Xiangrong Fang <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
