
fixed build system (linked all fpmake files together) git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2258 8e941d3f-bd1b-0410-a28a-d453659cc2b4
36 lines
526 B
ObjectPascal
36 lines
526 B
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
program fpmake;
|
|
|
|
{$mode objfpc} {$H+}
|
|
|
|
uses
|
|
fpmkunit;
|
|
|
|
var
|
|
P: TPackage;
|
|
i: integer;
|
|
|
|
begin
|
|
with Installer do
|
|
begin
|
|
{$endif ALLPACKAGES}
|
|
|
|
//create nvwidgets package
|
|
P := AddPackage('nvwidget_examples');
|
|
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory := 'examples';
|
|
{$endif ALLPACKAGES}
|
|
|
|
P.Dependencies.Add('nvwidget');
|
|
|
|
//example applications
|
|
P.Targets.AddUnit('example.pp');
|
|
P.Targets.AddUnit('widget_test.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|