Skip to content

Commit a2b5ed2

Browse files
committed
Add an option to build translation tables
1 parent 85c7080 commit a2b5ed2

File tree

15 files changed

+237
-9
lines changed

15 files changed

+237
-9
lines changed

.github/workflows/windows-msys2.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ jobs:
4343
mkdir _build && cd _build
4444
# this is a "prepare" only step for this workflow only, so build
4545
# without any optional packages as one-time build speeding up this part
46+
#../configure --without-db --without-curses --without-xml2 --without-json \
47+
# --without-iconv --disable-dependency-tracking
4648
../configure --without-db --without-curses --without-xml2 --without-json \
47-
--without-iconv --disable-dependency-tracking
49+
--disable-dependency-tracking
4850
4951
- name: Build GnuCOBOL Source Distribution
5052
shell: msys2 {0}

build_windows/vs2005/cobc.vcproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@
212212
RelativePath="..\..\cobc\field.c"
213213
>
214214
</File>
215+
<File
216+
RelativePath="..\..\cobc\gentable.c"
217+
>
218+
</File>
215219
<File
216220
RelativePath="..\..\cobc\help.c"
217221
>

build_windows/vs2008/cobc.vcproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@
207207
RelativePath="..\..\cobc\field.c"
208208
>
209209
</File>
210+
<File
211+
RelativePath="..\..\cobc\gentable.c"
212+
>
213+
</File>
210214
<File
211215
RelativePath="..\..\cobc\help.c"
212216
>

build_windows/vs2010/cobc.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
<ClCompile Include="..\..\cobc\config.c" />
193193
<ClCompile Include="..\..\cobc\error.c" />
194194
<ClCompile Include="..\..\cobc\field.c" />
195+
<ClCompile Include="..\..\cobc\gentable.c" />
195196
<ClCompile Include="..\..\cobc\help.c" />
196197
<ClCompile Include="..\..\cobc\replace.c" />
197198
<ClCompile Include="..\..\cobc\reserved.c" />
@@ -354,4 +355,4 @@
354355
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
355356
<ImportGroup Label="ExtensionTargets">
356357
</ImportGroup>
357-
</Project>
358+
</Project>

build_windows/vs2012/cobc.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
<ClCompile Include="..\..\cobc\config.c" />
197197
<ClCompile Include="..\..\cobc\error.c" />
198198
<ClCompile Include="..\..\cobc\field.c" />
199+
<ClCompile Include="..\..\cobc\gentable.c" />
199200
<ClCompile Include="..\..\cobc\help.c" />
200201
<ClCompile Include="..\..\cobc\replace.c" />
201202
<ClCompile Include="..\..\cobc\reserved.c" />
@@ -358,4 +359,4 @@
358359
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
359360
<ImportGroup Label="ExtensionTargets">
360361
</ImportGroup>
361-
</Project>
362+
</Project>

build_windows/vs2013/cobc.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
<ClCompile Include="..\..\cobc\config.c" />
199199
<ClCompile Include="..\..\cobc\error.c" />
200200
<ClCompile Include="..\..\cobc\field.c" />
201+
<ClCompile Include="..\..\cobc\gentable.c" />
201202
<ClCompile Include="..\..\cobc\help.c" />
202203
<ClCompile Include="..\..\cobc\replace.c" />
203204
<ClCompile Include="..\..\cobc\reserved.c" />
@@ -360,4 +361,4 @@
360361
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
361362
<ImportGroup Label="ExtensionTargets">
362363
</ImportGroup>
363-
</Project>
364+
</Project>

build_windows/vs2015/cobc.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
<ClCompile Include="..\..\cobc\config.c" />
197197
<ClCompile Include="..\..\cobc\error.c" />
198198
<ClCompile Include="..\..\cobc\field.c" />
199+
<ClCompile Include="..\..\cobc\gentable.c" />
199200
<ClCompile Include="..\..\cobc\help.c" />
200201
<ClCompile Include="..\..\cobc\replace.c" />
201202
<ClCompile Include="..\..\cobc\reserved.c" />
@@ -358,4 +359,4 @@
358359
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
359360
<ImportGroup Label="ExtensionTargets">
360361
</ImportGroup>
361-
</Project>
362+
</Project>

build_windows/vs2017/cobc.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
<ClCompile Include="..\..\cobc\config.c" />
199199
<ClCompile Include="..\..\cobc\error.c" />
200200
<ClCompile Include="..\..\cobc\field.c" />
201+
<ClCompile Include="..\..\cobc\gentable.c" />
201202
<ClCompile Include="..\..\cobc\help.c" />
202203
<ClCompile Include="..\..\cobc\replace.c" />
203204
<ClCompile Include="..\..\cobc\reserved.c" />
@@ -360,4 +361,4 @@
360361
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
361362
<ImportGroup Label="ExtensionTargets">
362363
</ImportGroup>
363-
</Project>
364+
</Project>

build_windows/vs2019/cobc.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
<ClCompile Include="..\..\cobc\config.c" />
199199
<ClCompile Include="..\..\cobc\error.c" />
200200
<ClCompile Include="..\..\cobc\field.c" />
201+
<ClCompile Include="..\..\cobc\gentable.c" />
201202
<ClCompile Include="..\..\cobc\help.c" />
202203
<ClCompile Include="..\..\cobc\replace.c" />
203204
<ClCompile Include="..\..\cobc\reserved.c" />
@@ -360,4 +361,4 @@
360361
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
361362
<ImportGroup Label="ExtensionTargets">
362363
</ImportGroup>
363-
</Project>
364+
</Project>

cobc/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bin_PROGRAMS = cobc
2323
cobc_SOURCES = cobc.c cobc.h ppparse.y pplex.c parser.y scanner.c config.c \
2424
reserved.c error.c tree.c tree.h field.c typeck.c codegen.c help.c \
2525
config.def flag.def warning.def codeoptim.def ppparse.def \
26-
codeoptim.c replace.c
26+
codeoptim.c replace.c gentable.c
2727

2828
#cobc_SOURCES = cobc.c cobc.h ppparse.y pplex.l parser.y scanner.l config.c
2929

0 commit comments

Comments
 (0)