Recent

Author Topic: path to executable, anyone?  (Read 2709 times)

EganSolo

  • Sr. Member
  • ****
  • Posts: 395
path to executable, anyone?
« on: December 15, 2015, 12:34:28 am »
Is there a way to customize the path to the executable? I've looked into the Options for Project form --> Compiler Options --> Path and I don't find an explicit entry for the executable. I can see one for the units. However, I do notice that the field "Include Files (-Fi): holds the value $(ProjOutDir). Is there a way to customize this variable?

Thanks,

Egan.

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1290
Re: path to executable, anyone?
« Reply #1 on: December 15, 2015, 01:01:47 am »
hello,
you can try to put the executable path in the target filename (-o) option like this for example :

Quote
f:\temp\myOutputExecPath\myexec.exe

if the output directory doesn't exist , a warning message to create it, will appear. But if you have other files to put in this directory, it isn't the good solution.
« Last Edit: December 15, 2015, 01:06:12 am by Jurassic Pork »
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: path to executable, anyone?
« Reply #2 on: December 15, 2015, 01:33:47 am »
projec options -> paths already has a executable selection see attached screen shot.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018