mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-28 09:43:42 +02:00
25 lines
457 B
ObjectPascal
25 lines
457 B
ObjectPascal
program fpmake;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
fpmkunit
|
|
{ add your units here };
|
|
|
|
begin
|
|
With Installer Do
|
|
begin
|
|
StartPackage('Mypackage');
|
|
Version:='1.0';
|
|
URL:='http://www.freepascal.org/';
|
|
Targets.AddUnit('myunit');
|
|
Targets['myunit'].OS:=[Win32,Linux];
|
|
Targets['myunit'].Resourcestrings:=True;
|
|
Targets.AddUnit('testbuild/myotherunit').OS:=[Linux];
|
|
Targets.AddProgram('myprog');
|
|
EndPackage;
|
|
Run;
|
|
end;
|
|
end.
|
|
|