You've already forked lazarus-ccr
more work on improving the build system
initial import of a build file for the examples git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
28
components/nvidia-widgets/examples/fpmake.pp
Normal file
28
components/nvidia-widgets/examples/fpmake.pp
Normal file
@@ -0,0 +1,28 @@
|
||||
program fpmake;
|
||||
|
||||
{$mode objfpc} {$H+}
|
||||
|
||||
uses
|
||||
fpmkunit;
|
||||
|
||||
var
|
||||
P: TPackage;
|
||||
i: integer;
|
||||
|
||||
begin
|
||||
with Installer do
|
||||
begin
|
||||
//create nvwidgets package
|
||||
P := AddPackage('nvwidget_examples');
|
||||
|
||||
P.Dependencies.Add('nvwidget');
|
||||
P.UnitPath.Add('../src');
|
||||
|
||||
//example applications
|
||||
P.Targets.AddUnit('example.pp');
|
||||
P.Targets.AddUnit('widget_test.pp');
|
||||
|
||||
Run;
|
||||
end;
|
||||
end.
|
||||
|
||||
Reference in New Issue
Block a user