Recent

Author Topic: Setting project's output filename with $fpctarget  (Read 8851 times)

seb

  • New Member
  • *
  • Posts: 13
Setting project's output filename with $fpctarget
« on: November 23, 2006, 11:02:40 am »
Hi,

Output filename can be changed in Project / Project Options / Output Settings.

I would like to set the output project filename dynamically by appending to the project name the value of $fpctarget used for example in /etc/fpc.cfg.
eg: my project is named project1, I want to named it project1-linux-386 on compilation.
Is this possible from lazarus ?

Thanks for your ideas,
Seb
Lazarus 0.9.18 - fpc 2.04 - ubuntu breezy / windows XP - Mac Os X

seb

  • New Member
  • *
  • Posts: 13
RE: Setting project
« Reply #1 on: November 23, 2006, 11:13:49 am »
Finally I found the answer.

Setting the project's output filename in project's options panel with $fpctarget works great.
Seb
Lazarus 0.9.18 - fpc 2.04 - ubuntu breezy / windows XP - Mac Os X

 

TinyPortal © 2005-2018