Sign in Join

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

Mailing lists / fpc-pascal / 2008-12

setting unit output dir in packages/extra

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Marc Santhoff

Hi,

I'm trying hard to make a package thatfits inside fpc/packages/extra. Most things do work, but some details are missing still.

How and where is the setting made that directs the output of package compilation to $targetos/something and the installation target path?

A typical packages/extra Makefile.fpc looks like this and has no out path setting. For reference:

<snip>

#
# Makefile.fpc for fpgtk
#
[require]
packages=fcl gtk

[package]
name=fpgtk
version=2.0.4

[target]
units=fpglib fpgtk fpgtkext
rsts=fpgtk fpgtkext

[install]
fpcpackage=y

[default]
fpcdir=../../..

</snip>

Other possibilities are having something in the Makefiles upwards the directory tree or the fpc.cfg used when compiling ...

TIA,
Marc

Reply by email