Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-06

cross platform pre-compile processing

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Xiangrong Fang

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.

Thanks!

Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150620/d09cba33/attachment.html>

Reply by email