Target file name former to $HOME/something lazarus / 11-Options ---------------------------------------------------------------------- DonaldShimoda · 2016-09-18 23:03 Want to set the target file name to $home folder. target file directory -o $HOME/pepe After compile it create a $HOME/pepe folder on the same folder of my project. I need to make the compiler respect the user home directory between installations (example on a rm is /home/pi and other linux is /home/pepe) Any way to get this working? TIA ---------------------------------------------------------------------- Phil · 2016-09-18 23:30 In Lazarus you can probably use the $(Home) macro. On Mac and Linux, that corresponds to the HOME env. variable, I would assume. And on Windows, probably corresponds to the HOMEDRIVE and HOMEPATH env. variables (I'm guessing). ---------------------------------------------------------------------- DonaldShimoda · 2016-09-18 23:37 Quote from: Phil on September 19, 2016, 01:30:21 amIn Lazarus you can probably use the $(Home) macro. That works, thanks! ---------------------------------------------------------------------- Phil · 2016-09-18 23:40 Not sure where/if the master list of macros is in the Project Options dialog. I always just go to Tools | Configure External Tools and click Add to see the list, simply because I somehow remember that it's there. Lots of useful macros in the list.