mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 08:47:10 +01:00
* Added fpmake.pp file for opengles
git-svn-id: trunk@20127 -
This commit is contained in:
parent
7167b5b065
commit
8c4b24dc13
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -5416,6 +5416,7 @@ packages/opengles/examples/Makefile svneol=native#text/plain
|
||||
packages/opengles/examples/Makefile.fpc svneol=native#text/plain
|
||||
packages/opengles/examples/es2example1.pas svneol=native#text/pascal
|
||||
packages/opengles/examples/glutdemoes.pp svneol=native#text/plain
|
||||
packages/opengles/fpmake.pp svneol=native#text/plain
|
||||
packages/opengles/src/gles11.pp svneol=native#text/plain
|
||||
packages/opengles/src/gles20.pas svneol=native#text/pascal
|
||||
packages/openssl/Makefile svneol=native#text/plain
|
||||
|
||||
39
packages/opengles/fpmake.pp
Normal file
39
packages/opengles/fpmake.pp
Normal file
@ -0,0 +1,39 @@
|
||||
{$ifndef ALLPACKAGES}
|
||||
{$mode objfpc}{$H+}
|
||||
program fpmake;
|
||||
|
||||
uses fpmkunit;
|
||||
|
||||
Var
|
||||
P : TPackage;
|
||||
T : TTarget;
|
||||
|
||||
begin
|
||||
With Installer do
|
||||
begin
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
P:=AddPackage('opengles');
|
||||
{$ifdef ALLPACKAGES}
|
||||
P.Directory:='opengles';
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='2.7.1';
|
||||
P.Author := 'Free Pascal Development team';
|
||||
P.License := 'LGPL with modification';
|
||||
P.HomepageURL := 'www.freepascal.org';
|
||||
P.OSes := [darwin,iphonesim];
|
||||
|
||||
P.SourcePath.Add('src');
|
||||
|
||||
T:=P.Targets.AddUnit('gles11.pp',[darwin,iphonesim]);
|
||||
T:=P.Targets.AddUnit('gles20.pas',[linux,win32,win64,wince,darwin]);
|
||||
|
||||
P.Targets.AddExampleProgram('es2example1.pas');
|
||||
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||
|
||||
|
||||
{$ifndef ALLPACKAGES}
|
||||
Run;
|
||||
end;
|
||||
end.
|
||||
{$endif ALLPACKAGES}
|
||||
Loading…
Reference in New Issue
Block a user