Skip to content

Commit 21b3e4a

Browse files
authored
Add cobj.exe (#391)
1 parent 7168a83 commit 21b3e4a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/msbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
run: nuget restore ./win/
2121

2222
- name: Build
23-
run: msbuild /p:AdditionalIncludePaths=./:./cobj/:./win:./lib win/opensourcecobol4j.sln
23+
run: msbuild /p:Configuration=Release /p:AdditionalIncludePaths=./:./cobj/:./win:./lib win/opensourcecobol4j.sln
2424

2525
- name: exec cobj
26-
working-directory: win/x64/Debug
26+
working-directory: win/x64/Release
2727
run: |
2828
./cobj.exe --version

win/cobj/cobj.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
6565
<IncludePath>%INCLUDE%;$(SolutionDir);$(SolutionDir)..\lib;$(SolutionDir)..\cobj;$(SolutionDir)..\;$(IncludePath)</IncludePath>
6666
</PropertyGroup>
67+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
68+
<IncludePath>%INCLUDE;$(SolutionDir);$(SolutionDir)..\lib;$(SolultionDir)..\cobj;$(SolutionDir)..\;$(IncludePath)</IncludePath>
69+
</PropertyGroup>
6770
<ItemDefinitionGroup>
6871
<ClCompile>
6972
<PrecompiledHeader>NotUsing</PrecompiledHeader>
@@ -96,6 +99,7 @@
9699
<FunctionLevelLinking>true</FunctionLevelLinking>
97100
<IntrinsicFunctions>true</IntrinsicFunctions>
98101
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
102+
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\;$(SolutionDir)..\cobj;$(SolutionDir)..\lib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
99103
</ClCompile>
100104
<Link>
101105
<SubSystem>Console</SubSystem>

win/x64/Release/cobj.exe

527 KB
Binary file not shown.

0 commit comments

Comments
 (0)