blob: 5e23a64dd70bcc541a1f525880ea73fcacdb784e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
T : TTarget;
P : TPackage;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('fcl-json');
P.ShortName:='fclj';
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.3.1';
P.Dependencies.Add('fcl-base');
P.Dependencies.Add('rtl-objpas');
P.Author := 'Michael van Canneyt';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Json interfacing, part of Free Component Libraries (FCL), FPC''s OOP library.';
P.NeedLibC:= false;
P.OSes:=AllOSes-[embedded,msdos,win16,macos,palmos];
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('fpjson.pp');
T.ResourceStrings:=true;
T:=P.Targets.AddUnit('jsonconf.pp');
T.ResourceStrings:=true;
with T.Dependencies do
begin
AddUnit('fpjson');
AddUnit('jsonparser');
end;
T:=P.Targets.AddUnit('jsonparser.pp');
T.ResourceStrings:=true;
with T.Dependencies do
begin
AddUnit('fpjson');
AddUnit('jsonscanner');
AddUnit('jsonreader');
end;
T:=P.Targets.AddUnit('jsonreader.pp');
T.ResourceStrings:=true;
with T.Dependencies do
begin
AddUnit('fpjson');
AddUnit('jsonscanner');
end;
T:=P.Targets.AddUnit('jsonscanner.pp');
T.ResourceStrings:=true;
T:=P.Targets.AddUnit('fpjsonrtti.pp');
T.ResourceStrings:=true;
with T.Dependencies do
begin
AddUnit('fpjson');
AddUnit('jsonparser');
end;
T:=P.Targets.AddUnit('fpjsontopas.pp');
T.ResourceStrings:=true;
with T.Dependencies do
begin
AddUnit('fpjson');
AddUnit('jsonparser');
end;
T:=P.Targets.AddUnit('jsonini.pp');
with T.Dependencies do
begin
AddUnit('fpjson');
AddUnit('jsonparser');
end;
T:=P.Targets.AddUnit('json2yaml.pp');
with T.Dependencies do
begin
AddUnit('fpjson');
end;
P.ExamplePath.Add('examples');
T:=P.Targets.AddExampleProgram('confdemo.pp');
T:=P.Targets.AddExampleProgram('parsedemo.pp');
T:=P.Targets.AddExampleProgram('simpledemo.pp');
T:=P.Targets.AddExampleProgram('ini2json.pp');
T:=P.Targets.AddExampleProgram('j2y.pp');
// simpledemo.lpi
// confdemo.lpi
// parsedemo.lpi
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}
|