Bläddra i källkod

+ enabled compilation of unit ptcgraph for macOS

Nikolay Nikolov 3 år sedan
förälder
incheckning
453f45fa1f
1 ändrade filer med 7 tillägg och 7 borttagningar
  1. 7 7
      packages/graph/fpmake.pp

+ 7 - 7
packages/graph/fpmake.pp

@@ -25,16 +25,16 @@ begin
     P.Description := 'A portable, yet usable substitute for the Turbo Pascal Graph unit.';
     P.NeedLibC:= false;  // true for headers that indirectly link to libc? OS specific?
 
-    P.CPUs:=[i386,x86_64,powerpc,i8086];
+    P.CPUs:=[i386,x86_64,powerpc,i8086,aarch64];
     P.OSes:=[go32v2,win32,win64,linux,freebsd,darwin,msdos];
 
     P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,freebsd,darwin]);
-    P.Dependencies.Add('ptc',[win32,win64,linux]);
+    P.Dependencies.Add('ptc',[win32,win64,linux,darwin]);
 
     // Dependencies for ptc, due to fpcmake bug:
-    P.Dependencies.Add('fcl-base',[win32,win64,linux]);
+    P.Dependencies.Add('fcl-base',[win32,win64,linux,darwin]);
     P.Dependencies.Add('x11',[freebsd,linux]); // ptc only depends on reebsd and linux on x11
-    P.Dependencies.Add('hermes',[win32,win64,linux]);
+    P.Dependencies.Add('hermes',[win32,win64,linux,darwin]);
     P.Dependencies.Add('opengl',[win32,win64,linux]);
 
     P.SourcePath.Add('src');
@@ -117,7 +117,7 @@ begin
         begin
           AddUnit('graph');
         end;
-    T:=P.Targets.AddUnit('ptcgraph.pp',[win32,win64,linux]);
+    T:=P.Targets.AddUnit('ptcgraph.pp',[win32,win64,linux,darwin]);
       with T.Dependencies do
         begin
           AddInclude('graphh.inc');
@@ -129,12 +129,12 @@ begin
           AddInclude('fills.inc');
           AddInclude('gtext.inc');
         end;
-    T:=P.Targets.AddUnit('ptccrt.pp',[win32,win64,linux]);
+    T:=P.Targets.AddUnit('ptccrt.pp',[win32,win64,linux,darwin]);
       with T.Dependencies do
         begin
           AddUnit('ptcgraph');
         end;
-    T:=P.Targets.AddUnit('ptcmouse.pp',[win32,win64,linux]);
+    T:=P.Targets.AddUnit('ptcmouse.pp',[win32,win64,linux,darwin]);
       with T.Dependencies do
         begin
           AddUnit('ptcgraph');