annotate win/lwobjdump.vcxproj @ 560:dba08c7dff96

Fix off by one handling MOD directive optional arguments Fixes an off by one in handling the optional arguments to the MOD directive as of changeset 928c033c0cd0. Thanks to Alex Evans <varmfskii@gmail.com> for reporting the problem and a suggested fix. This fix is different but should be more stable should the rest of the parsing code be refactored in the future.
author William Astle <lost@l-w.ca>
date Fri, 22 Sep 2023 12:15:09 -0600
parents 15d1628180e7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
391
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
3 <ItemGroup Label="ProjectConfigurations">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
4 <ProjectConfiguration Include="Debug|Win32">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
5 <Configuration>Debug</Configuration>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
6 <Platform>Win32</Platform>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
7 </ProjectConfiguration>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
8 <ProjectConfiguration Include="Release|Win32">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
9 <Configuration>Release</Configuration>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
10 <Platform>Win32</Platform>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
11 </ProjectConfiguration>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
12 </ItemGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
13 <ItemGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
14 <ProjectReference Include="lwlib.vcxproj">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
15 <Project>{93a52e3f-d19d-4a1a-8b8f-15270bd3d0e2}</Project>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
16 </ProjectReference>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
17 </ItemGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
18 <ItemGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
19 <ClCompile Include="..\lwlink\objdump.c" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
20 </ItemGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
21 <PropertyGroup Label="Globals">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
22 <ProjectGuid>{852540C9-DEA5-4BFF-BE18-FD946C3857AA}</ProjectGuid>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
23 <Keyword>Win32Proj</Keyword>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
24 <RootNamespace>lwasm</RootNamespace>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
25 </PropertyGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
28 <ConfigurationType>Application</ConfigurationType>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
29 <UseDebugLibraries>true</UseDebugLibraries>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
30 <PlatformToolset>v120</PlatformToolset>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
31 <CharacterSet>Unicode</CharacterSet>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
32 </PropertyGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
34 <ConfigurationType>Application</ConfigurationType>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
35 <UseDebugLibraries>false</UseDebugLibraries>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
36 <PlatformToolset>v120</PlatformToolset>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
37 <WholeProgramOptimization>true</WholeProgramOptimization>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
38 <CharacterSet>Unicode</CharacterSet>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
39 </PropertyGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
40 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
41 <ImportGroup Label="ExtensionSettings">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
42 </ImportGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
43 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
44 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
45 </ImportGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
46 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
47 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
48 </ImportGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
49 <PropertyGroup Label="UserMacros" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
50 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
51 <LinkIncremental>true</LinkIncremental>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
52 <OutDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</OutDir>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
53 <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
54 </PropertyGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
55 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
56 <LinkIncremental>false</LinkIncremental>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
57 <OutDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</OutDir>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
58 <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
59 </PropertyGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
60 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
61 <ClCompile>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
62 <PrecompiledHeader>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
63 </PrecompiledHeader>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
64 <WarningLevel>Level3</WarningLevel>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
65 <Optimization>Disabled</Optimization>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
66 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
67 <AdditionalIncludeDirectories>../lwlib</AdditionalIncludeDirectories>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
68 </ClCompile>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
69 <Link>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
70 <SubSystem>Console</SubSystem>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
71 <GenerateDebugInformation>true</GenerateDebugInformation>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
72 </Link>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
73 </ItemDefinitionGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
74 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
75 <ClCompile>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
76 <WarningLevel>Level3</WarningLevel>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
77 <PrecompiledHeader>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
78 </PrecompiledHeader>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
79 <Optimization>MaxSpeed</Optimization>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
80 <FunctionLevelLinking>true</FunctionLevelLinking>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
81 <IntrinsicFunctions>true</IntrinsicFunctions>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
82 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
83 <AdditionalIncludeDirectories>../lwlib</AdditionalIncludeDirectories>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
84 </ClCompile>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
85 <Link>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
86 <SubSystem>Console</SubSystem>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
87 <GenerateDebugInformation>true</GenerateDebugInformation>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
88 <EnableCOMDATFolding>true</EnableCOMDATFolding>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
89 <OptimizeReferences>true</OptimizeReferences>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
90 </Link>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
91 </ItemDefinitionGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
92 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
93 <ImportGroup Label="ExtensionTargets">
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
94 </ImportGroup>
15d1628180e7 Add missing files to 221b5f58d8ad
William Astle <lost@l-w.ca>
parents:
diff changeset
95 </Project>