rake-delphi 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/Gemfile.lock +19 -0
- data/Rakefile.rb +6 -0
- data/lib/rake/common/git.rb +3 -2
- data/lib/rake/common/logger.rb +26 -0
- data/lib/rake/common/sendmailtask.rb +1 -1
- data/lib/rake/common/ziptask.rb +3 -3
- data/lib/rake/delphi.rb +1 -0
- data/lib/rake/delphi/dcc32.rb +63 -13
- data/lib/rake/delphi/envvariables.rb +41 -13
- data/lib/rake/delphi/project.rb +0 -1
- data/lib/rake/delphi/projectinfo.rb +28 -7
- data/lib/rake/delphi/resources.rb +3 -2
- data/lib/rake/delphi/tool.rb +45 -13
- data/lib/rake/delphi/version.rb +1 -1
- data/lib/rake/helpers/filelist.rb +1 -0
- data/lib/rake/helpers/logger.rb +1 -0
- data/lib/rake/helpers/rake.rb +1 -0
- data/lib/rake/helpers/raketask.rb +1 -2
- data/rake-delphi.gemspec +2 -1
- data/test/helpers/verinfo.rb +42 -0
- data/test/resources/testproject/Rakefile.rb +5 -2
- data/test/resources/testproject/bin/test_compile/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_alter_cfg/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_consts/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_debug_info/testproject.drc +366 -0
- data/test/resources/testproject/bin/test_compile_debug_info/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_debug_info/testproject.map +1798 -0
- data/test/resources/testproject/bin/test_compile_defines/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_use_absent_config/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_use_config/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_use_library_path/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_with_explicit_and_implicit_libs/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_with_explicit_libs/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_with_libs/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_with_resources/testproject.exe +0 -0
- data/test/resources/testproject/bin/test_compile_with_resources_and_libs/testproject.exe +0 -0
- data/test/resources/testproject/dcu/ExplicitLibUnit.dcu +0 -0
- data/test/resources/testproject/dcu/LibUnit.dcu +0 -0
- data/test/resources/testproject/resources.res +0 -0
- data/test/resources/testproject/{testproject.bdsproj → testproject.2006.bdsproj} +0 -0
- data/test/resources/testproject/{testproject.dproj → testproject.2007.dproj} +0 -0
- data/test/resources/testproject/testproject.2010.dproj +108 -0
- data/test/resources/testproject/testproject.cfg.1 +8 -0
- data/test/resources/testproject/testproject.dproj.2007 +77 -0
- data/test/resources/testproject/testproject.drc +210 -0
- data/test/resources/testproject/testproject.exe +0 -0
- data/test/resources/testproject/testproject.identcache +0 -0
- data/test/resources/testproject/testproject.rc +60 -0
- data/test/resources/testproject/testproject.res +0 -0
- data/test/resources/testproject/testproject.xe5.dproj +179 -0
- data/test/test-delphi.rb +33 -5
- data/test/test-envvariables.rb +23 -0
- data/test/test-git.rb +2 -2
- data/test/test-hashes.rb +0 -1
- data/test/test-projectinfo.rb +89 -9
- data/test/test-zip.rb +0 -8
- metadata +100 -43
- data/.gitignore +0 -17
- data/test/resources/testproject/.gitignore +0 -8
Binary file
|
Binary file
|
data/test/resources/testproject/bin/test_compile_with_explicit_and_implicit_libs/testproject.exe
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
@@ -0,0 +1,108 @@
|
|
1
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2
|
+
<PropertyGroup>
|
3
|
+
<ProjectGuid>{af8ea221-1e83-4b10-930b-73b0e6f4b239}</ProjectGuid>
|
4
|
+
<MainSource>testproject.dpr</MainSource>
|
5
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
6
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
7
|
+
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
|
8
|
+
<DCC_DependencyCheckOutputName>testproject.exe</DCC_DependencyCheckOutputName>
|
9
|
+
<ProjectVersion>12.0</ProjectVersion>
|
10
|
+
<Config Condition="'$(Config)'==''">Debug</Config>
|
11
|
+
</PropertyGroup>
|
12
|
+
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
13
|
+
<Base>true</Base>
|
14
|
+
</PropertyGroup>
|
15
|
+
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
|
16
|
+
<Cfg_1>true</Cfg_1>
|
17
|
+
<CfgParent>Base</CfgParent>
|
18
|
+
<Base>true</Base>
|
19
|
+
</PropertyGroup>
|
20
|
+
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
|
21
|
+
<Cfg_2>true</Cfg_2>
|
22
|
+
<CfgParent>Base</CfgParent>
|
23
|
+
<Base>true</Base>
|
24
|
+
</PropertyGroup>
|
25
|
+
<PropertyGroup Condition="'$(Base)'!=''">
|
26
|
+
<DCC_DependencyCheckOutputName>testproject.exe</DCC_DependencyCheckOutputName>
|
27
|
+
</PropertyGroup>
|
28
|
+
<PropertyGroup Condition="'$(Cfg_1)'!=''">
|
29
|
+
<Version>7.0</Version>
|
30
|
+
<DCC_DebugInformation>False</DCC_DebugInformation>
|
31
|
+
<DCC_LocalDebugSymbols>False</DCC_LocalDebugSymbols>
|
32
|
+
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
33
|
+
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
34
|
+
</PropertyGroup>
|
35
|
+
<PropertyGroup Condition="'$(Cfg_2)'!=''">
|
36
|
+
<Version>7.0</Version>
|
37
|
+
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
38
|
+
<DCC_DebugInformation>False</DCC_DebugInformation>
|
39
|
+
</PropertyGroup>
|
40
|
+
<ProjectExtensions>
|
41
|
+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
|
42
|
+
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
|
43
|
+
<BorlandProject>
|
44
|
+
<Delphi.Personality>
|
45
|
+
<Parameters>
|
46
|
+
<Parameters Name="UseLauncher">False</Parameters>
|
47
|
+
<Parameters Name="LoadAllSymbols">True</Parameters>
|
48
|
+
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
49
|
+
</Parameters>
|
50
|
+
<VersionInfo>
|
51
|
+
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
52
|
+
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
53
|
+
<VersionInfo Name="MajorVer">4</VersionInfo>
|
54
|
+
<VersionInfo Name="MinorVer">3</VersionInfo>
|
55
|
+
<VersionInfo Name="Release">2</VersionInfo>
|
56
|
+
<VersionInfo Name="Build">1</VersionInfo>
|
57
|
+
<VersionInfo Name="Debug">False</VersionInfo>
|
58
|
+
<VersionInfo Name="PreRelease">False</VersionInfo>
|
59
|
+
<VersionInfo Name="Special">False</VersionInfo>
|
60
|
+
<VersionInfo Name="Private">False</VersionInfo>
|
61
|
+
<VersionInfo Name="DLL">False</VersionInfo>
|
62
|
+
<VersionInfo Name="Locale">1049</VersionInfo>
|
63
|
+
<VersionInfo Name="CodePage">1251</VersionInfo>
|
64
|
+
</VersionInfo>
|
65
|
+
<VersionInfoKeys>
|
66
|
+
<VersionInfoKeys Name="CompanyName">Rake</VersionInfoKeys>
|
67
|
+
<VersionInfoKeys Name="FileDescription">Test rake-delphi project 2010 description</VersionInfoKeys>
|
68
|
+
<VersionInfoKeys Name="FileVersion">4.3.2.1</VersionInfoKeys>
|
69
|
+
<VersionInfoKeys Name="InternalName">testproject.exe</VersionInfoKeys>
|
70
|
+
<VersionInfoKeys Name="LegalCopyright">Copyright. Копирайт</VersionInfoKeys>
|
71
|
+
<VersionInfoKeys Name="LegalTrademarks">Trademark. Торговая марка</VersionInfoKeys>
|
72
|
+
<VersionInfoKeys Name="OriginalFilename">testproject.exe</VersionInfoKeys>
|
73
|
+
<VersionInfoKeys Name="ProductName">Test rake-delphi project 2010 product name</VersionInfoKeys>
|
74
|
+
<VersionInfoKeys Name="ProductVersion">1.2.3.4</VersionInfoKeys>
|
75
|
+
<VersionInfoKeys Name="Comments">Test project comment</VersionInfoKeys>
|
76
|
+
</VersionInfoKeys>
|
77
|
+
<Excluded_Packages>
|
78
|
+
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\5.0\Bpl\rxctl110.bpl">RX Library Component and Tools Package</Excluded_Packages>
|
79
|
+
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\5.0\Bpl\JclDeveloperTools110.bpl">JEDI Code Library Developer Tools package</Excluded_Packages>
|
80
|
+
<Excluded_Packages Name="$(BDS)\bin\dcloffice2k100.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
81
|
+
<Excluded_Packages Name="$(BDS)\bin\dclofficexp100.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
82
|
+
<Excluded_Packages Name="c:\Program Files\FastReports\FastReport 4\LibD11\frxDB11.bpl">(untitled)</Excluded_Packages>
|
83
|
+
</Excluded_Packages>
|
84
|
+
<Source>
|
85
|
+
<Source Name="MainSource">testproject.dpr</Source>
|
86
|
+
</Source>
|
87
|
+
</Delphi.Personality>
|
88
|
+
</BorlandProject>
|
89
|
+
<ProjectFileVersion>12</ProjectFileVersion>
|
90
|
+
</ProjectExtensions>
|
91
|
+
<ItemGroup>
|
92
|
+
<DelphiCompile Include="testproject.dpr">
|
93
|
+
<MainSource>MainSource</MainSource>
|
94
|
+
</DelphiCompile>
|
95
|
+
<BuildConfiguration Include="Base">
|
96
|
+
<Key>Base</Key>
|
97
|
+
</BuildConfiguration>
|
98
|
+
<BuildConfiguration Include="Debug">
|
99
|
+
<Key>Cfg_2</Key>
|
100
|
+
<CfgParent>Base</CfgParent>
|
101
|
+
</BuildConfiguration>
|
102
|
+
<BuildConfiguration Include="Release">
|
103
|
+
<Key>Cfg_1</Key>
|
104
|
+
<CfgParent>Base</CfgParent>
|
105
|
+
</BuildConfiguration>
|
106
|
+
</ItemGroup>
|
107
|
+
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
|
108
|
+
</Project>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<PropertyGroup>
|
4
|
+
<ProjectGuid>{af8ea221-1e83-4b10-930b-73b0e6f4b239}</ProjectGuid>
|
5
|
+
<MainSource>testproject.dpr</MainSource>
|
6
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
7
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
8
|
+
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
|
9
|
+
<DCC_DependencyCheckOutputName>testproject.exe</DCC_DependencyCheckOutputName>
|
10
|
+
</PropertyGroup>
|
11
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
12
|
+
<Version>7.0</Version>
|
13
|
+
<DCC_DebugInformation>False</DCC_DebugInformation>
|
14
|
+
<DCC_LocalDebugSymbols>False</DCC_LocalDebugSymbols>
|
15
|
+
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
16
|
+
<DCC_Define>RELEASE</DCC_Define>
|
17
|
+
</PropertyGroup>
|
18
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
19
|
+
<Version>7.0</Version>
|
20
|
+
<DCC_Define>DEBUG</DCC_Define>
|
21
|
+
<DCC_DebugInformation>False</DCC_DebugInformation>
|
22
|
+
</PropertyGroup>
|
23
|
+
<ProjectExtensions>
|
24
|
+
<Borland.Personality>Delphi.Personality</Borland.Personality>
|
25
|
+
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
|
26
|
+
<BorlandProject>
|
27
|
+
<BorlandProject> <Delphi.Personality> <Parameters>
|
28
|
+
<Parameters Name="UseLauncher">False</Parameters>
|
29
|
+
<Parameters Name="LoadAllSymbols">True</Parameters>
|
30
|
+
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
31
|
+
</Parameters>
|
32
|
+
<VersionInfo>
|
33
|
+
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
34
|
+
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
35
|
+
<VersionInfo Name="MajorVer">4</VersionInfo>
|
36
|
+
<VersionInfo Name="MinorVer">3</VersionInfo>
|
37
|
+
<VersionInfo Name="Release">2</VersionInfo>
|
38
|
+
<VersionInfo Name="Build">1</VersionInfo>
|
39
|
+
<VersionInfo Name="Debug">False</VersionInfo>
|
40
|
+
<VersionInfo Name="PreRelease">False</VersionInfo>
|
41
|
+
<VersionInfo Name="Special">False</VersionInfo>
|
42
|
+
<VersionInfo Name="Private">False</VersionInfo>
|
43
|
+
<VersionInfo Name="DLL">False</VersionInfo>
|
44
|
+
<VersionInfo Name="Locale">1049</VersionInfo>
|
45
|
+
<VersionInfo Name="CodePage">1251</VersionInfo>
|
46
|
+
</VersionInfo>
|
47
|
+
<VersionInfoKeys>
|
48
|
+
<VersionInfoKeys Name="CompanyName">Rake</VersionInfoKeys>
|
49
|
+
<VersionInfoKeys Name="FileDescription">Test rake-delphi project 2007 description</VersionInfoKeys>
|
50
|
+
<VersionInfoKeys Name="FileVersion">4.3.2.1</VersionInfoKeys>
|
51
|
+
<VersionInfoKeys Name="InternalName">testproject.exe</VersionInfoKeys>
|
52
|
+
<VersionInfoKeys Name="LegalCopyright">Copyright. Копирайт</VersionInfoKeys>
|
53
|
+
<VersionInfoKeys Name="LegalTrademarks">Trademark. Торговая марка</VersionInfoKeys>
|
54
|
+
<VersionInfoKeys Name="OriginalFilename">testproject.exe</VersionInfoKeys>
|
55
|
+
<VersionInfoKeys Name="ProductName">Test rake-delphi project 2007 product name</VersionInfoKeys>
|
56
|
+
<VersionInfoKeys Name="ProductVersion">1.2.3.4</VersionInfoKeys>
|
57
|
+
<VersionInfoKeys Name="Comments">Test project comment</VersionInfoKeys>
|
58
|
+
</VersionInfoKeys>
|
59
|
+
<Excluded_Packages>
|
60
|
+
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\5.0\Bpl\rxctl110.bpl">RX Library Component and Tools Package</Excluded_Packages>
|
61
|
+
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\5.0\Bpl\JclDeveloperTools110.bpl">JEDI Code Library Developer Tools package</Excluded_Packages>
|
62
|
+
<Excluded_Packages Name="$(BDS)\bin\dcloffice2k100.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
63
|
+
<Excluded_Packages Name="$(BDS)\bin\dclofficexp100.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
64
|
+
<Excluded_Packages Name="c:\Program Files\FastReports\FastReport 4\LibD11\frxDB11.bpl">(untitled)</Excluded_Packages>
|
65
|
+
</Excluded_Packages>
|
66
|
+
<Source>
|
67
|
+
<Source Name="MainSource">testproject.dpr</Source>
|
68
|
+
</Source>
|
69
|
+
</Delphi.Personality> </BorlandProject></BorlandProject>
|
70
|
+
</ProjectExtensions>
|
71
|
+
<Import Project="$(MSBuildBinPath)\Borland.Delphi.Targets" />
|
72
|
+
<ItemGroup>
|
73
|
+
<DelphiCompile Include="testproject.dpr">
|
74
|
+
<MainSource>MainSource</MainSource>
|
75
|
+
</DelphiCompile>
|
76
|
+
</ItemGroup>
|
77
|
+
</Project>
|
@@ -0,0 +1,210 @@
|
|
1
|
+
/* VER180
|
2
|
+
Generated by the Borland Delphi Pascal Compiler
|
3
|
+
because -GD or --drc was supplied to the compiler.
|
4
|
+
|
5
|
+
This file contains compiler-generated resources that
|
6
|
+
were bound to the executable.
|
7
|
+
If this file is empty, then no compiler-generated
|
8
|
+
resources were bound to the produced executable.
|
9
|
+
*/
|
10
|
+
|
11
|
+
#define RTLConsts_SSeekNotImplemented 65424
|
12
|
+
#define RTLConsts_SWriteError 65425
|
13
|
+
#define SysConst_SShortDayNameThu 65440
|
14
|
+
#define SysConst_SShortDayNameFri 65441
|
15
|
+
#define SysConst_SShortDayNameSat 65442
|
16
|
+
#define SysConst_SLongDayNameSun 65443
|
17
|
+
#define SysConst_SLongDayNameMon 65444
|
18
|
+
#define SysConst_SLongDayNameTue 65445
|
19
|
+
#define SysConst_SLongDayNameWed 65446
|
20
|
+
#define SysConst_SLongDayNameThu 65447
|
21
|
+
#define SysConst_SLongDayNameFri 65448
|
22
|
+
#define SysConst_SLongDayNameSat 65449
|
23
|
+
#define RTLConsts_SAssignError 65450
|
24
|
+
#define RTLConsts_SCantWriteResourceStreamError 65451
|
25
|
+
#define RTLConsts_SListCapacityError 65452
|
26
|
+
#define RTLConsts_SListCountError 65453
|
27
|
+
#define RTLConsts_SListIndexError 65454
|
28
|
+
#define RTLConsts_SResNotFound 65455
|
29
|
+
#define SysConst_SLongMonthNameJan 65456
|
30
|
+
#define SysConst_SLongMonthNameFeb 65457
|
31
|
+
#define SysConst_SLongMonthNameMar 65458
|
32
|
+
#define SysConst_SLongMonthNameApr 65459
|
33
|
+
#define SysConst_SLongMonthNameMay 65460
|
34
|
+
#define SysConst_SLongMonthNameJun 65461
|
35
|
+
#define SysConst_SLongMonthNameJul 65462
|
36
|
+
#define SysConst_SLongMonthNameAug 65463
|
37
|
+
#define SysConst_SLongMonthNameSep 65464
|
38
|
+
#define SysConst_SLongMonthNameOct 65465
|
39
|
+
#define SysConst_SLongMonthNameNov 65466
|
40
|
+
#define SysConst_SLongMonthNameDec 65467
|
41
|
+
#define SysConst_SShortDayNameSun 65468
|
42
|
+
#define SysConst_SShortDayNameMon 65469
|
43
|
+
#define SysConst_SShortDayNameTue 65470
|
44
|
+
#define SysConst_SShortDayNameWed 65471
|
45
|
+
#define SysConst_SAbstractError 65472
|
46
|
+
#define SysConst_SModuleAccessViolation 65473
|
47
|
+
#define SysConst_SOSError 65474
|
48
|
+
#define SysConst_SUnkOSError 65475
|
49
|
+
#define SysConst_SShortMonthNameJan 65476
|
50
|
+
#define SysConst_SShortMonthNameFeb 65477
|
51
|
+
#define SysConst_SShortMonthNameMar 65478
|
52
|
+
#define SysConst_SShortMonthNameApr 65479
|
53
|
+
#define SysConst_SShortMonthNameMay 65480
|
54
|
+
#define SysConst_SShortMonthNameJun 65481
|
55
|
+
#define SysConst_SShortMonthNameJul 65482
|
56
|
+
#define SysConst_SShortMonthNameAug 65483
|
57
|
+
#define SysConst_SShortMonthNameSep 65484
|
58
|
+
#define SysConst_SShortMonthNameOct 65485
|
59
|
+
#define SysConst_SShortMonthNameNov 65486
|
60
|
+
#define SysConst_SShortMonthNameDec 65487
|
61
|
+
#define SysConst_SVarArrayLocked 65488
|
62
|
+
#define SysConst_SInvalidVarCast 65489
|
63
|
+
#define SysConst_SInvalidVarOp 65490
|
64
|
+
#define SysConst_SInvalidVarOpWithHResultWithPrefix 65491
|
65
|
+
#define SysConst_SVarTypeCouldNotConvert 65492
|
66
|
+
#define SysConst_SVarTypeConvertOverflow 65493
|
67
|
+
#define SysConst_SVarOverflow 65494
|
68
|
+
#define SysConst_SVarInvalid 65495
|
69
|
+
#define SysConst_SVarBadType 65496
|
70
|
+
#define SysConst_SVarNotImplemented 65497
|
71
|
+
#define SysConst_SVarUnexpected 65498
|
72
|
+
#define SysConst_SExternalException 65499
|
73
|
+
#define SysConst_SAssertionFailed 65500
|
74
|
+
#define SysConst_SIntfCastError 65501
|
75
|
+
#define SysConst_SSafecallException 65502
|
76
|
+
#define SysConst_SAssertError 65503
|
77
|
+
#define SysConst_SInvalidPointer 65504
|
78
|
+
#define SysConst_SInvalidCast 65505
|
79
|
+
#define SysConst_SAccessViolationArg3 65506
|
80
|
+
#define SysConst_SAccessViolationNoArg 65507
|
81
|
+
#define SysConst_SStackOverflow 65508
|
82
|
+
#define SysConst_SControlC 65509
|
83
|
+
#define SysConst_SPrivilege 65510
|
84
|
+
#define SysConst_SException 65511
|
85
|
+
#define SysConst_SExceptTitle 65512
|
86
|
+
#define SysConst_SInvalidFormat 65513
|
87
|
+
#define SysConst_SArgumentMissing 65514
|
88
|
+
#define SysConst_SDispatchError 65515
|
89
|
+
#define SysConst_SReadAccess 65516
|
90
|
+
#define SysConst_SWriteAccess 65517
|
91
|
+
#define SysConst_SVarArrayCreate 65518
|
92
|
+
#define SysConst_SVarArrayBounds 65519
|
93
|
+
#define SysConst_SOutOfMemory 65520
|
94
|
+
#define SysConst_SInOutError 65521
|
95
|
+
#define SysConst_SFileNotFound 65522
|
96
|
+
#define SysConst_SInvalidFilename 65523
|
97
|
+
#define SysConst_STooManyOpenFiles 65524
|
98
|
+
#define SysConst_SAccessDenied 65525
|
99
|
+
#define SysConst_SEndOfFile 65526
|
100
|
+
#define SysConst_SDiskFull 65527
|
101
|
+
#define SysConst_SInvalidInput 65528
|
102
|
+
#define SysConst_SDivByZero 65529
|
103
|
+
#define SysConst_SRangeError 65530
|
104
|
+
#define SysConst_SIntOverflow 65531
|
105
|
+
#define SysConst_SInvalidOp 65532
|
106
|
+
#define SysConst_SZeroDivide 65533
|
107
|
+
#define SysConst_SOverflow 65534
|
108
|
+
#define SysConst_SUnderflow 65535
|
109
|
+
STRINGTABLE
|
110
|
+
BEGIN
|
111
|
+
RTLConsts_SSeekNotImplemented, "%s.Seek not implemented"
|
112
|
+
RTLConsts_SWriteError, "Stream write error"
|
113
|
+
SysConst_SShortDayNameThu, "Thu"
|
114
|
+
SysConst_SShortDayNameFri, "Fri"
|
115
|
+
SysConst_SShortDayNameSat, "Sat"
|
116
|
+
SysConst_SLongDayNameSun, "Sunday"
|
117
|
+
SysConst_SLongDayNameMon, "Monday"
|
118
|
+
SysConst_SLongDayNameTue, "Tuesday"
|
119
|
+
SysConst_SLongDayNameWed, "Wednesday"
|
120
|
+
SysConst_SLongDayNameThu, "Thursday"
|
121
|
+
SysConst_SLongDayNameFri, "Friday"
|
122
|
+
SysConst_SLongDayNameSat, "Saturday"
|
123
|
+
RTLConsts_SAssignError, "Cannot assign a %s to a %s"
|
124
|
+
RTLConsts_SCantWriteResourceStreamError, "Can't write to a read-only resource stream"
|
125
|
+
RTLConsts_SListCapacityError, "List capacity out of bounds (%d)"
|
126
|
+
RTLConsts_SListCountError, "List count out of bounds (%d)"
|
127
|
+
RTLConsts_SListIndexError, "List index out of bounds (%d)"
|
128
|
+
RTLConsts_SResNotFound, "Resource %s not found"
|
129
|
+
SysConst_SLongMonthNameJan, "January"
|
130
|
+
SysConst_SLongMonthNameFeb, "February"
|
131
|
+
SysConst_SLongMonthNameMar, "March"
|
132
|
+
SysConst_SLongMonthNameApr, "April"
|
133
|
+
SysConst_SLongMonthNameMay, "May"
|
134
|
+
SysConst_SLongMonthNameJun, "June"
|
135
|
+
SysConst_SLongMonthNameJul, "July"
|
136
|
+
SysConst_SLongMonthNameAug, "August"
|
137
|
+
SysConst_SLongMonthNameSep, "September"
|
138
|
+
SysConst_SLongMonthNameOct, "October"
|
139
|
+
SysConst_SLongMonthNameNov, "November"
|
140
|
+
SysConst_SLongMonthNameDec, "December"
|
141
|
+
SysConst_SShortDayNameSun, "Sun"
|
142
|
+
SysConst_SShortDayNameMon, "Mon"
|
143
|
+
SysConst_SShortDayNameTue, "Tue"
|
144
|
+
SysConst_SShortDayNameWed, "Wed"
|
145
|
+
SysConst_SAbstractError, "Abstract Error"
|
146
|
+
SysConst_SModuleAccessViolation, "Access violation at address %p in module '%s'. %s of address %p"
|
147
|
+
SysConst_SOSError, "System Error. Code: %d.\r\n%s"
|
148
|
+
SysConst_SUnkOSError, "A call to an OS function failed"
|
149
|
+
SysConst_SShortMonthNameJan, "Jan"
|
150
|
+
SysConst_SShortMonthNameFeb, "Feb"
|
151
|
+
SysConst_SShortMonthNameMar, "Mar"
|
152
|
+
SysConst_SShortMonthNameApr, "Apr"
|
153
|
+
SysConst_SShortMonthNameMay, "May"
|
154
|
+
SysConst_SShortMonthNameJun, "Jun"
|
155
|
+
SysConst_SShortMonthNameJul, "Jul"
|
156
|
+
SysConst_SShortMonthNameAug, "Aug"
|
157
|
+
SysConst_SShortMonthNameSep, "Sep"
|
158
|
+
SysConst_SShortMonthNameOct, "Oct"
|
159
|
+
SysConst_SShortMonthNameNov, "Nov"
|
160
|
+
SysConst_SShortMonthNameDec, "Dec"
|
161
|
+
SysConst_SVarArrayLocked, "Variant or safe array is locked"
|
162
|
+
SysConst_SInvalidVarCast, "Invalid variant type conversion"
|
163
|
+
SysConst_SInvalidVarOp, "Invalid variant operation"
|
164
|
+
SysConst_SInvalidVarOpWithHResultWithPrefix, "Invalid variant operation (%s%.8x)\n%s"
|
165
|
+
SysConst_SVarTypeCouldNotConvert, "Could not convert variant of type (%s) into type (%s)"
|
166
|
+
SysConst_SVarTypeConvertOverflow, "Overflow while converting variant of type (%s) into type (%s)"
|
167
|
+
SysConst_SVarOverflow, "Variant overflow"
|
168
|
+
SysConst_SVarInvalid, "Invalid argument"
|
169
|
+
SysConst_SVarBadType, "Invalid variant type"
|
170
|
+
SysConst_SVarNotImplemented, "Operation not supported"
|
171
|
+
SysConst_SVarUnexpected, "Unexpected variant error"
|
172
|
+
SysConst_SExternalException, "External exception %x"
|
173
|
+
SysConst_SAssertionFailed, "Assertion failed"
|
174
|
+
SysConst_SIntfCastError, "Interface not supported"
|
175
|
+
SysConst_SSafecallException, "Exception in safecall method"
|
176
|
+
SysConst_SAssertError, "%s (%s, line %d)"
|
177
|
+
SysConst_SInvalidPointer, "Invalid pointer operation"
|
178
|
+
SysConst_SInvalidCast, "Invalid class typecast"
|
179
|
+
SysConst_SAccessViolationArg3, "Access violation at address %p. %s of address %p"
|
180
|
+
SysConst_SAccessViolationNoArg, "Access violation"
|
181
|
+
SysConst_SStackOverflow, "Stack overflow"
|
182
|
+
SysConst_SControlC, "Control-C hit"
|
183
|
+
SysConst_SPrivilege, "Privileged instruction"
|
184
|
+
SysConst_SException, "Exception %s in module %s at %p.\r\n%s%s\r\n"
|
185
|
+
SysConst_SExceptTitle, "Application Error"
|
186
|
+
SysConst_SInvalidFormat, "Format '%s' invalid or incompatible with argument"
|
187
|
+
SysConst_SArgumentMissing, "No argument for format '%s'"
|
188
|
+
SysConst_SDispatchError, "Variant method calls not supported"
|
189
|
+
SysConst_SReadAccess, "Read"
|
190
|
+
SysConst_SWriteAccess, "Write"
|
191
|
+
SysConst_SVarArrayCreate, "Error creating variant or safe array"
|
192
|
+
SysConst_SVarArrayBounds, "Variant or safe array index out of bounds"
|
193
|
+
SysConst_SOutOfMemory, "Out of memory"
|
194
|
+
SysConst_SInOutError, "I/O error %d"
|
195
|
+
SysConst_SFileNotFound, "File not found"
|
196
|
+
SysConst_SInvalidFilename, "Invalid filename"
|
197
|
+
SysConst_STooManyOpenFiles, "Too many open files"
|
198
|
+
SysConst_SAccessDenied, "File access denied"
|
199
|
+
SysConst_SEndOfFile, "Read beyond end of file"
|
200
|
+
SysConst_SDiskFull, "Disk full"
|
201
|
+
SysConst_SInvalidInput, "Invalid numeric input"
|
202
|
+
SysConst_SDivByZero, "Division by zero"
|
203
|
+
SysConst_SRangeError, "Range check error"
|
204
|
+
SysConst_SIntOverflow, "Integer overflow"
|
205
|
+
SysConst_SInvalidOp, "Invalid floating point operation"
|
206
|
+
SysConst_SZeroDivide, "Floating point division by zero"
|
207
|
+
SysConst_SOverflow, "Floating point overflow"
|
208
|
+
SysConst_SUnderflow, "Floating point underflow"
|
209
|
+
END
|
210
|
+
|
Binary file
|
Binary file
|
@@ -0,0 +1,60 @@
|
|
1
|
+
#define VS_FF_DEBUG 0x00000001
|
2
|
+
#define VS_FF_PRERELEASE 0x00000002
|
3
|
+
#define VS_FF_PATCHED 0x00000004
|
4
|
+
#define VS_FF_PRIVATEBUILD 0x00000008
|
5
|
+
#define VS_FF_INFOINFERRED 0x00000010
|
6
|
+
#define VS_FF_SPECIALBUILD 0x00000020
|
7
|
+
|
8
|
+
#ifndef DEBUG
|
9
|
+
#define VER_DEBUG 0
|
10
|
+
#else
|
11
|
+
#define VER_DEBUG VS_FF_DEBUG
|
12
|
+
#endif
|
13
|
+
|
14
|
+
#ifndef RC
|
15
|
+
#define VER_PRERELEASE 0
|
16
|
+
#else
|
17
|
+
#define VER_PRERELEASE VS_FF_PRERELEASE
|
18
|
+
#endif
|
19
|
+
|
20
|
+
|
21
|
+
#define _FILEFLAGS (VER_PRERELEASE|VER_DEBUG)
|
22
|
+
|
23
|
+
LANGUAGE 0x19, 0x01
|
24
|
+
MAINICON ICON "C:/cygwin/home/ashu/v3_0/lib/rake-delphi/test/resources/testproject/testproject.ico"
|
25
|
+
1 VERSIONINFO
|
26
|
+
FILEVERSION 0,0,0,0
|
27
|
+
PRODUCTVERSION 1,2,3,4
|
28
|
+
FILEOS 0x40004
|
29
|
+
FILETYPE 0x1
|
30
|
+
FILEFLAGSMASK _FILEFLAGS
|
31
|
+
FILEFLAGS _FILEFLAGS
|
32
|
+
BEGIN
|
33
|
+
BLOCK "StringFileInfo"
|
34
|
+
BEGIN
|
35
|
+
BLOCK "041904E3"
|
36
|
+
BEGIN
|
37
|
+
VALUE "CompanyName", "Rake\0"
|
38
|
+
VALUE "FileDescription", "Test rake-delphi project 2006 description\0"
|
39
|
+
VALUE "FileVersion", "0.0.0.0\0"
|
40
|
+
VALUE "InternalName", "testproject.exe\0"
|
41
|
+
VALUE "LegalCopyright", "Copyright. ��������\0"
|
42
|
+
VALUE "LegalTrademarks", "Trademark. �������� �����\0"
|
43
|
+
VALUE "OriginalFilename", "testproject.exe\0"
|
44
|
+
VALUE "ProductName", "Test rake-delphi project 2006 product name\0"
|
45
|
+
VALUE "ProductVersion", "1.2.3.4\0"
|
46
|
+
VALUE "Comments", "Test project comment\0"
|
47
|
+
#ifdef DEBUG
|
48
|
+
VALUE "DebugBuild", "DebugBuild\0"
|
49
|
+
#endif
|
50
|
+
#ifdef RC
|
51
|
+
VALUE "ReleaseCandidate", "\0"
|
52
|
+
#endif
|
53
|
+
END
|
54
|
+
END
|
55
|
+
|
56
|
+
BLOCK "VarFileInfo"
|
57
|
+
BEGIN
|
58
|
+
VALUE "Translation", 0x0419 0x04E3
|
59
|
+
END
|
60
|
+
END
|