Skip to content

Commit 84494c6

Browse files
- Added Packages for RAD Studio 2010 (Thanks to Uwe Schuster)
- Corrected a wrong path in Delphi/VirtualTreesD12.dpk (Thanks to Uwe Schuster)
1 parent 31f0576 commit 84494c6

File tree

6 files changed

+126
-5
lines changed

6 files changed

+126
-5
lines changed

Common/Compilers.inc

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
// - COMPILER_11_UP : Kylix/Delphi/BCB 11.x or higher is the compiler.
5757
// - COMPILER_12 : Kylix/Delphi/BCB 12.x is the compiler.
5858
// - COMPILER_12_UP : Kylix/Delphi/BCB 12.x or higher is the compiler.
59+
// - COMPILER_14 : Kylix/Delphi/BCB 14.x is the compiler.
60+
// - COMPILER_14_UP : Kylix/Delphi/BCB 14.x or higher is the compiler.
5961
//
6062
// Only defined if Windows is the target:
6163
// - CPPB : Any version of BCB is being used.
@@ -125,12 +127,17 @@
125127

126128
// Compiler defines not specific to a particlular platform.
127129

128-
// BDS 2008 (BDS 6.0) DELPHI and BCB are no longer defined, only COMPILER
130+
// RAD Studio 2010 (BDS 7.0) DELPHI and BCB are no longer defined, only COMPILER
131+
{$ifdef VER210}
132+
{$define COMPILER_14}
133+
{$endif VER210}
134+
135+
// RAD Studio 2009 (BDS 6.0) DELPHI and BCB are no longer defined, only COMPILER
129136
{$ifdef VER200}
130137
{$define COMPILER_12}
131138
{$endif VER200}
132139

133-
// BDS 2007 (BDS 5.0) DELPHI and BCB are no longer defined, only COMPILER
140+
// RAD Studio 2007 (BDS 5.0) DELPHI and BCB are no longer defined, only COMPILER
134141
{$ifdef VER190}
135142
{$define COMPILER_11}
136143
{$endif VER190}
@@ -493,7 +500,7 @@
493500
{$define CPPB}
494501
{$else}
495502
{$define DELPHI}
496-
{$endif}
503+
{$endif}
497504

498505
{$endif}
499506

@@ -529,7 +536,43 @@
529536
{$define CPPB}
530537
{$else}
531538
{$define DELPHI}
532-
{$endif}
539+
{$endif}
540+
541+
{$endif}
542+
543+
{$ifdef COMPILER_14}
544+
{$define COMPILER_1_UP}
545+
{$define COMPILER_2_UP}
546+
{$define COMPILER_3_UP}
547+
{$define COMPILER_4_UP}
548+
{$define COMPILER_5_UP}
549+
{$define COMPILER_6_UP}
550+
{$define COMPILER_7_UP}
551+
{$define COMPILER_8_UP}
552+
{$define COMPILER_9_UP}
553+
{$define COMPILER_10_UP}
554+
{$define COMPILER_11_UP}
555+
{$define COMPILER_12_UP}
556+
{$define COMPILER_14_UP}
557+
// Backwards compatibility
558+
{$define DELPHI_2_UP}
559+
{$define DELPHI_3_UP}
560+
{$define DELPHI_4_UP}
561+
{$define DELPHI_5_UP}
562+
{$define DELPHI_6_UP}
563+
{$define DELPHI_7_UP}
564+
{$define DELPHI_8_UP}
565+
{$define DELPHI_9_UP}
566+
{$define CPPB_3_UP}
567+
{$define CPPB_4_UP}
568+
{$define CPPB_5_UP}
569+
{$define CPPB_6_UP}
570+
571+
{$ifdef BCB}
572+
{$define CPPB}
573+
{$else}
574+
{$define DELPHI}
575+
{$endif}
533576

534577
{$endif}
535578

Delphi/VirtualTreesD12.dpk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ contains
3434
VirtualTrees in '..\Source\VirtualTrees.pas',
3535
VTHeaderPopup in '..\Source\VTHeaderPopup.pas',
3636
VTAccessibilityFactory in '..\Source\VTAccessibilityFactory.pas',
37-
VTAccessibility in '..\Common\VTAccessibility.pas';
37+
VTAccessibility in '..\Source\VTAccessibility.pas';
3838

3939
end.
4040

Delphi/VirtualTreesD14.dpk

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
package VirtualTreesD14;
2+
3+
{$R *.res}
4+
{$ALIGN 8}
5+
{$ASSERTIONS OFF}
6+
{$BOOLEVAL OFF}
7+
{$DEBUGINFO OFF}
8+
{$EXTENDEDSYNTAX ON}
9+
{$IMPORTEDDATA ON}
10+
{$IOCHECKS OFF}
11+
{$LOCALSYMBOLS OFF}
12+
{$LONGSTRINGS ON}
13+
{$OPENSTRINGS ON}
14+
{$OPTIMIZATION ON}
15+
{$OVERFLOWCHECKS OFF}
16+
{$RANGECHECKS OFF}
17+
{$REFERENCEINFO OFF}
18+
{$SAFEDIVIDE OFF}
19+
{$STACKFRAMES OFF}
20+
{$TYPEDADDRESS OFF}
21+
{$VARSTRINGCHECKS ON}
22+
{$WRITEABLECONST OFF}
23+
{$MINENUMSIZE 1}
24+
{$IMAGEBASE $30400000}
25+
{$DESCRIPTION 'Virtual Treeview runtime package'}
26+
{$RUNONLY}
27+
{$IMPLICITBUILD ON}
28+
29+
requires
30+
vcl,
31+
vclx;
32+
33+
contains
34+
VirtualTrees in '..\Source\VirtualTrees.pas',
35+
VTHeaderPopup in '..\Source\VTHeaderPopup.pas',
36+
VTAccessibilityFactory in '..\Source\VTAccessibilityFactory.pas',
37+
VTAccessibility in '..\Source\VTAccessibility.pas';
38+
39+
end.
40+

Delphi/VirtualTreesD14.res

1.5 KB
Binary file not shown.

Delphi/VirtualTreesD14D.dpk

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
package VirtualTreesD14D;
2+
3+
{$ALIGN 8}
4+
{$ASSERTIONS ON}
5+
{$BOOLEVAL OFF}
6+
{$DEBUGINFO ON}
7+
{$EXTENDEDSYNTAX ON}
8+
{$IMPORTEDDATA ON}
9+
{$IOCHECKS ON}
10+
{$LOCALSYMBOLS ON}
11+
{$LONGSTRINGS ON}
12+
{$OPENSTRINGS ON}
13+
{$OPTIMIZATION ON}
14+
{$OVERFLOWCHECKS ON}
15+
{$RANGECHECKS ON}
16+
{$REFERENCEINFO OFF}
17+
{$SAFEDIVIDE OFF}
18+
{$STACKFRAMES OFF}
19+
{$TYPEDADDRESS OFF}
20+
{$VARSTRINGCHECKS ON}
21+
{$WRITEABLECONST OFF}
22+
{$MINENUMSIZE 1}
23+
{$IMAGEBASE $30400000}
24+
{$DESCRIPTION 'Virtual Treeview design time package'}
25+
{$DESIGNONLY}
26+
{$IMPLICITBUILD ON}
27+
{$R *.res}
28+
{$R '..\Design\VirtualTrees.dcr'}
29+
30+
requires
31+
dclstd,
32+
VirtualTreesD14;
33+
34+
contains
35+
VirtualTreesReg in '..\Design\VirtualTreesReg.pas';
36+
37+
end.
38+

Delphi/VirtualTreesD14D.res

1.47 KB
Binary file not shown.

0 commit comments

Comments
 (0)