* Added fpmake.pp file for opengles

git-svn-id: trunk@20127 -
This commit is contained in:
joost 2012-01-20 17:09:07 +00:00
parent 7167b5b065
commit 8c4b24dc13
2 changed files with 40 additions and 0 deletions

1
.gitattributes vendored
View File

@ -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

View 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}