<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">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.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">run "prepare" if the project is compiled under linux, and run "prepare.exe" if it is compiled on Windows.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">Thanks!</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">Xiangrong</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div><div class="gmail_signature"><div dir="ltr"><img src="https://docs.google.com/uc?export=download&id=0B3cr36sBDhsCbjdsUFlJQTFIRlk&revid=0B3cr36sBDhsCT3k0STNYRXJ6UlZQd2w2WSt6Z0MyNzNJVlpjPQ" width="96" height="95"><br></div></div></div>
</div>