From 730418b99d039a1482ed2a7ce1b3c5115cae3f1a Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 26 Jan 2008 20:20:09 +0000 Subject: [PATCH] * create fpc-all package from all other packages git-svn-id: trunk@9967 - --- packages/fpmake.pp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/fpmake.pp b/packages/fpmake.pp index 16904f46a2..aa556baaa9 100644 --- a/packages/fpmake.pp +++ b/packages/fpmake.pp @@ -6,7 +6,8 @@ uses fpmkunit; Var TBuild,T : TTarget; - P : TPackage; + PBuild,P : TPackage; + D : TDependency; I : Integer; begin With Installer do @@ -51,6 +52,14 @@ The include lines below are generated with the following command: {$include winunits-jedi/fpmake.pp} {$include zlib/fpmake.pp} + // Create fpc-all package + PBuild:=AddPackage('fpc-all'); + for i:=0 to Packages.Count-1 do + begin + P:=Packages.PackageItems[i]; + D:=PBuild.Dependencies.Add(P.Name); + end; + Run; end; end.