]> git.sur5r.net Git - cc65/commitdiff
Added MS VS 2010 solution with projects for the major binaries.
authorOliver Schmidt <ol.sc@web.de>
Wed, 10 Apr 2013 17:30:36 +0000 (19:30 +0200)
committerOliver Schmidt <ol.sc@web.de>
Wed, 10 Apr 2013 17:30:36 +0000 (19:30 +0200)
src/.gitignore [new file with mode: 0644]
src/ar65.vcxproj [new file with mode: 0644]
src/ca65.vcxproj [new file with mode: 0644]
src/cc65.sln [new file with mode: 0644]
src/cc65.vcxproj [new file with mode: 0644]
src/cl65.vcxproj [new file with mode: 0644]
src/common.vcxproj [new file with mode: 0644]
src/ld65.vcxproj [new file with mode: 0644]

diff --git a/src/.gitignore b/src/.gitignore
new file mode 100644 (file)
index 0000000..d2b9fe7
--- /dev/null
@@ -0,0 +1,6 @@
+ipch/
+*.suo
+*.sdf
+*.opensdf
+*.vcxproj.filters
+*.vcxproj.user
diff --git a/src/ar65.vcxproj b/src/ar65.vcxproj
new file mode 100644 (file)
index 0000000..539c005
--- /dev/null
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{5E8C19C6-B167-440C-8BEF-3CBF109CDB49}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>ar65</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;_DEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;NDEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClInclude Include="ar65\add.h" />
+    <ClInclude Include="ar65\del.h" />
+    <ClInclude Include="ar65\error.h" />
+    <ClInclude Include="ar65\exports.h" />
+    <ClInclude Include="ar65\extract.h" />
+    <ClInclude Include="ar65\fileio.h" />
+    <ClInclude Include="ar65\global.h" />
+    <ClInclude Include="ar65\library.h" />
+    <ClInclude Include="ar65\list.h" />
+    <ClInclude Include="ar65\objdata.h" />
+    <ClInclude Include="ar65\objfile.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="ar65\add.c" />
+    <ClCompile Include="ar65\del.c" />
+    <ClCompile Include="ar65\error.c" />
+    <ClCompile Include="ar65\exports.c" />
+    <ClCompile Include="ar65\extract.c" />
+    <ClCompile Include="ar65\fileio.c" />
+    <ClCompile Include="ar65\global.c" />
+    <ClCompile Include="ar65\library.c" />
+    <ClCompile Include="ar65\list.c" />
+    <ClCompile Include="ar65\main.c" />
+    <ClCompile Include="ar65\objdata.c" />
+    <ClCompile Include="ar65\objfile.c" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/src/ca65.vcxproj b/src/ca65.vcxproj
new file mode 100644 (file)
index 0000000..c2aa355
--- /dev/null
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{D28CB737-E6CA-49C4-8CE9-FF05F86DD4EC}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>ca65</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;_DEBUG</PreprocessorDefinitions>
+      <TreatWarningAsError>true</TreatWarningAsError>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;NDEBUG</PreprocessorDefinitions>
+      <TreatWarningAsError>true</TreatWarningAsError>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClInclude Include="ca65\anonname.h" />
+    <ClInclude Include="ca65\asserts.h" />
+    <ClInclude Include="ca65\condasm.h" />
+    <ClInclude Include="ca65\dbginfo.h" />
+    <ClInclude Include="ca65\ea.h" />
+    <ClInclude Include="ca65\ea65.h" />
+    <ClInclude Include="ca65\easw16.h" />
+    <ClInclude Include="ca65\enum.h" />
+    <ClInclude Include="ca65\error.h" />
+    <ClInclude Include="ca65\expr.h" />
+    <ClInclude Include="ca65\feature.h" />
+    <ClInclude Include="ca65\filetab.h" />
+    <ClInclude Include="ca65\fragment.h" />
+    <ClInclude Include="ca65\global.h" />
+    <ClInclude Include="ca65\incpath.h" />
+    <ClInclude Include="ca65\instr.h" />
+    <ClInclude Include="ca65\istack.h" />
+    <ClInclude Include="ca65\lineinfo.h" />
+    <ClInclude Include="ca65\listing.h" />
+    <ClInclude Include="ca65\macro.h" />
+    <ClInclude Include="ca65\nexttok.h" />
+    <ClInclude Include="ca65\objcode.h" />
+    <ClInclude Include="ca65\objfile.h" />
+    <ClInclude Include="ca65\options.h" />
+    <ClInclude Include="ca65\pseudo.h" />
+    <ClInclude Include="ca65\repeat.h" />
+    <ClInclude Include="ca65\scanner.h" />
+    <ClInclude Include="ca65\segdef.h" />
+    <ClInclude Include="ca65\segment.h" />
+    <ClInclude Include="ca65\sizeof.h" />
+    <ClInclude Include="ca65\span.h" />
+    <ClInclude Include="ca65\spool.h" />
+    <ClInclude Include="ca65\struct.h" />
+    <ClInclude Include="ca65\studyexpr.h" />
+    <ClInclude Include="ca65\symbol.h" />
+    <ClInclude Include="ca65\symentry.h" />
+    <ClInclude Include="ca65\symtab.h" />
+    <ClInclude Include="ca65\token.h" />
+    <ClInclude Include="ca65\toklist.h" />
+    <ClInclude Include="ca65\ulabel.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="ca65\anonname.c" />
+    <ClCompile Include="ca65\asserts.c" />
+    <ClCompile Include="ca65\condasm.c" />
+    <ClCompile Include="ca65\dbginfo.c" />
+    <ClCompile Include="ca65\ea65.c" />
+    <ClCompile Include="ca65\easw16.c" />
+    <ClCompile Include="ca65\enum.c" />
+    <ClCompile Include="ca65\error.c" />
+    <ClCompile Include="ca65\expr.c" />
+    <ClCompile Include="ca65\feature.c" />
+    <ClCompile Include="ca65\filetab.c" />
+    <ClCompile Include="ca65\fragment.c" />
+    <ClCompile Include="ca65\global.c" />
+    <ClCompile Include="ca65\incpath.c" />
+    <ClCompile Include="ca65\instr.c" />
+    <ClCompile Include="ca65\istack.c" />
+    <ClCompile Include="ca65\lineinfo.c" />
+    <ClCompile Include="ca65\listing.c" />
+    <ClCompile Include="ca65\macro.c" />
+    <ClCompile Include="ca65\main.c" />
+    <ClCompile Include="ca65\nexttok.c" />
+    <ClCompile Include="ca65\objcode.c" />
+    <ClCompile Include="ca65\objfile.c" />
+    <ClCompile Include="ca65\options.c" />
+    <ClCompile Include="ca65\pseudo.c" />
+    <ClCompile Include="ca65\repeat.c" />
+    <ClCompile Include="ca65\scanner.c" />
+    <ClCompile Include="ca65\segdef.c" />
+    <ClCompile Include="ca65\segment.c" />
+    <ClCompile Include="ca65\sizeof.c" />
+    <ClCompile Include="ca65\span.c" />
+    <ClCompile Include="ca65\spool.c" />
+    <ClCompile Include="ca65\struct.c" />
+    <ClCompile Include="ca65\studyexpr.c" />
+    <ClCompile Include="ca65\symbol.c" />
+    <ClCompile Include="ca65\symentry.c" />
+    <ClCompile Include="ca65\symtab.c" />
+    <ClCompile Include="ca65\token.c" />
+    <ClCompile Include="ca65\toklist.c" />
+    <ClCompile Include="ca65\ulabel.c" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/src/cc65.sln b/src/cc65.sln
new file mode 100644 (file)
index 0000000..21cf611
--- /dev/null
@@ -0,0 +1,65 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C++ Express 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "common.vcxproj", "{71DC1F68-BFC4-478C-8655-C8E9C9654D2B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cc65", "cc65.vcxproj", "{B17EDBD5-DC04-4970-9CBD-56A98B6A3FCA}"
+       ProjectSection(ProjectDependencies) = postProject
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B} = {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ca65", "ca65.vcxproj", "{D28CB737-E6CA-49C4-8CE9-FF05F86DD4EC}"
+       ProjectSection(ProjectDependencies) = postProject
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B} = {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ar65", "ar65.vcxproj", "{5E8C19C6-B167-440C-8BEF-3CBF109CDB49}"
+       ProjectSection(ProjectDependencies) = postProject
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B} = {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ld65", "ld65.vcxproj", "{26C749A0-814C-47A2-9D36-AE92AE932FE4}"
+       ProjectSection(ProjectDependencies) = postProject
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B} = {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cl65", "cl65.vcxproj", "{F657912F-050A-488B-B203-50ED5715CDD7}"
+       ProjectSection(ProjectDependencies) = postProject
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B} = {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}
+       EndProjectSection
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Win32 = Debug|Win32
+               Release|Win32 = Release|Win32
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}.Debug|Win32.ActiveCfg = Debug|Win32
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}.Debug|Win32.Build.0 = Debug|Win32
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}.Release|Win32.ActiveCfg = Release|Win32
+               {71DC1F68-BFC4-478C-8655-C8E9C9654D2B}.Release|Win32.Build.0 = Release|Win32
+               {B17EDBD5-DC04-4970-9CBD-56A98B6A3FCA}.Debug|Win32.ActiveCfg = Debug|Win32
+               {B17EDBD5-DC04-4970-9CBD-56A98B6A3FCA}.Debug|Win32.Build.0 = Debug|Win32
+               {B17EDBD5-DC04-4970-9CBD-56A98B6A3FCA}.Release|Win32.ActiveCfg = Release|Win32
+               {B17EDBD5-DC04-4970-9CBD-56A98B6A3FCA}.Release|Win32.Build.0 = Release|Win32
+               {D28CB737-E6CA-49C4-8CE9-FF05F86DD4EC}.Debug|Win32.ActiveCfg = Debug|Win32
+               {D28CB737-E6CA-49C4-8CE9-FF05F86DD4EC}.Debug|Win32.Build.0 = Debug|Win32
+               {D28CB737-E6CA-49C4-8CE9-FF05F86DD4EC}.Release|Win32.ActiveCfg = Release|Win32
+               {D28CB737-E6CA-49C4-8CE9-FF05F86DD4EC}.Release|Win32.Build.0 = Release|Win32
+               {5E8C19C6-B167-440C-8BEF-3CBF109CDB49}.Debug|Win32.ActiveCfg = Debug|Win32
+               {5E8C19C6-B167-440C-8BEF-3CBF109CDB49}.Debug|Win32.Build.0 = Debug|Win32
+               {5E8C19C6-B167-440C-8BEF-3CBF109CDB49}.Release|Win32.ActiveCfg = Release|Win32
+               {5E8C19C6-B167-440C-8BEF-3CBF109CDB49}.Release|Win32.Build.0 = Release|Win32
+               {26C749A0-814C-47A2-9D36-AE92AE932FE4}.Debug|Win32.ActiveCfg = Debug|Win32
+               {26C749A0-814C-47A2-9D36-AE92AE932FE4}.Debug|Win32.Build.0 = Debug|Win32
+               {26C749A0-814C-47A2-9D36-AE92AE932FE4}.Release|Win32.ActiveCfg = Release|Win32
+               {26C749A0-814C-47A2-9D36-AE92AE932FE4}.Release|Win32.Build.0 = Release|Win32
+               {F657912F-050A-488B-B203-50ED5715CDD7}.Debug|Win32.ActiveCfg = Debug|Win32
+               {F657912F-050A-488B-B203-50ED5715CDD7}.Debug|Win32.Build.0 = Debug|Win32
+               {F657912F-050A-488B-B203-50ED5715CDD7}.Release|Win32.ActiveCfg = Release|Win32
+               {F657912F-050A-488B-B203-50ED5715CDD7}.Release|Win32.Build.0 = Release|Win32
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/src/cc65.vcxproj b/src/cc65.vcxproj
new file mode 100644 (file)
index 0000000..fb8ccea
--- /dev/null
@@ -0,0 +1,223 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{B17EDBD5-DC04-4970-9CBD-56A98B6A3FCA}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>cc65</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;_DEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <WarningLevel>Level3</WarningLevel>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;NDEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClInclude Include="cc65\anonname.h" />
+    <ClInclude Include="cc65\asmcode.h" />
+    <ClInclude Include="cc65\asmlabel.h" />
+    <ClInclude Include="cc65\asmstmt.h" />
+    <ClInclude Include="cc65\assignment.h" />
+    <ClInclude Include="cc65\casenode.h" />
+    <ClInclude Include="cc65\codeent.h" />
+    <ClInclude Include="cc65\codegen.h" />
+    <ClInclude Include="cc65\codeinfo.h" />
+    <ClInclude Include="cc65\codelab.h" />
+    <ClInclude Include="cc65\codeopt.h" />
+    <ClInclude Include="cc65\codeseg.h" />
+    <ClInclude Include="cc65\compile.h" />
+    <ClInclude Include="cc65\coptadd.h" />
+    <ClInclude Include="cc65\coptc02.h" />
+    <ClInclude Include="cc65\coptcmp.h" />
+    <ClInclude Include="cc65\coptind.h" />
+    <ClInclude Include="cc65\coptneg.h" />
+    <ClInclude Include="cc65\coptptrload.h" />
+    <ClInclude Include="cc65\coptptrstore.h" />
+    <ClInclude Include="cc65\coptpush.h" />
+    <ClInclude Include="cc65\coptshift.h" />
+    <ClInclude Include="cc65\coptsize.h" />
+    <ClInclude Include="cc65\coptstop.h" />
+    <ClInclude Include="cc65\coptstore.h" />
+    <ClInclude Include="cc65\coptsub.h" />
+    <ClInclude Include="cc65\copttest.h" />
+    <ClInclude Include="cc65\dataseg.h" />
+    <ClInclude Include="cc65\datatype.h" />
+    <ClInclude Include="cc65\declare.h" />
+    <ClInclude Include="cc65\declattr.h" />
+    <ClInclude Include="cc65\error.h" />
+    <ClInclude Include="cc65\expr.h" />
+    <ClInclude Include="cc65\exprdesc.h" />
+    <ClInclude Include="cc65\funcdesc.h" />
+    <ClInclude Include="cc65\function.h" />
+    <ClInclude Include="cc65\global.h" />
+    <ClInclude Include="cc65\goto.h" />
+    <ClInclude Include="cc65\hexval.h" />
+    <ClInclude Include="cc65\ident.h" />
+    <ClInclude Include="cc65\incpath.h" />
+    <ClInclude Include="cc65\input.h" />
+    <ClInclude Include="cc65\lineinfo.h" />
+    <ClInclude Include="cc65\litpool.h" />
+    <ClInclude Include="cc65\loadexpr.h" />
+    <ClInclude Include="cc65\locals.h" />
+    <ClInclude Include="cc65\loop.h" />
+    <ClInclude Include="cc65\macrotab.h" />
+    <ClInclude Include="cc65\opcodes.h" />
+    <ClInclude Include="cc65\output.h" />
+    <ClInclude Include="cc65\pragma.h" />
+    <ClInclude Include="cc65\preproc.h" />
+    <ClInclude Include="cc65\reginfo.h" />
+    <ClInclude Include="cc65\scanner.h" />
+    <ClInclude Include="cc65\scanstrbuf.h" />
+    <ClInclude Include="cc65\segments.h" />
+    <ClInclude Include="cc65\shiftexpr.h" />
+    <ClInclude Include="cc65\stackptr.h" />
+    <ClInclude Include="cc65\standard.h" />
+    <ClInclude Include="cc65\stdfunc.h" />
+    <ClInclude Include="cc65\stdnames.h" />
+    <ClInclude Include="cc65\stmt.h" />
+    <ClInclude Include="cc65\swstmt.h" />
+    <ClInclude Include="cc65\symentry.h" />
+    <ClInclude Include="cc65\symtab.h" />
+    <ClInclude Include="cc65\testexpr.h" />
+    <ClInclude Include="cc65\textseg.h" />
+    <ClInclude Include="cc65\typecmp.h" />
+    <ClInclude Include="cc65\typeconv.h" />
+    <ClInclude Include="cc65\util.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="cc65\anonname.c" />
+    <ClCompile Include="cc65\asmcode.c" />
+    <ClCompile Include="cc65\asmlabel.c" />
+    <ClCompile Include="cc65\asmstmt.c" />
+    <ClCompile Include="cc65\assignment.c" />
+    <ClCompile Include="cc65\casenode.c" />
+    <ClCompile Include="cc65\codeent.c" />
+    <ClCompile Include="cc65\codegen.c" />
+    <ClCompile Include="cc65\codeinfo.c" />
+    <ClCompile Include="cc65\codelab.c" />
+    <ClCompile Include="cc65\codeopt.c" />
+    <ClCompile Include="cc65\codeseg.c" />
+    <ClCompile Include="cc65\compile.c" />
+    <ClCompile Include="cc65\coptadd.c" />
+    <ClCompile Include="cc65\coptc02.c" />
+    <ClCompile Include="cc65\coptcmp.c" />
+    <ClCompile Include="cc65\coptind.c" />
+    <ClCompile Include="cc65\coptneg.c" />
+    <ClCompile Include="cc65\coptptrload.c" />
+    <ClCompile Include="cc65\coptptrstore.c" />
+    <ClCompile Include="cc65\coptpush.c" />
+    <ClCompile Include="cc65\coptshift.c" />
+    <ClCompile Include="cc65\coptsize.c" />
+    <ClCompile Include="cc65\coptstop.c" />
+    <ClCompile Include="cc65\coptstore.c" />
+    <ClCompile Include="cc65\coptsub.c" />
+    <ClCompile Include="cc65\copttest.c" />
+    <ClCompile Include="cc65\dataseg.c" />
+    <ClCompile Include="cc65\datatype.c" />
+    <ClCompile Include="cc65\declare.c" />
+    <ClCompile Include="cc65\declattr.c" />
+    <ClCompile Include="cc65\error.c" />
+    <ClCompile Include="cc65\expr.c" />
+    <ClCompile Include="cc65\exprdesc.c" />
+    <ClCompile Include="cc65\funcdesc.c" />
+    <ClCompile Include="cc65\function.c" />
+    <ClCompile Include="cc65\global.c" />
+    <ClCompile Include="cc65\goto.c" />
+    <ClCompile Include="cc65\hexval.c" />
+    <ClCompile Include="cc65\ident.c" />
+    <ClCompile Include="cc65\incpath.c" />
+    <ClCompile Include="cc65\input.c" />
+    <ClCompile Include="cc65\lineinfo.c" />
+    <ClCompile Include="cc65\litpool.c" />
+    <ClCompile Include="cc65\loadexpr.c" />
+    <ClCompile Include="cc65\locals.c" />
+    <ClCompile Include="cc65\loop.c" />
+    <ClCompile Include="cc65\macrotab.c" />
+    <ClCompile Include="cc65\main.c" />
+    <ClCompile Include="cc65\opcodes.c" />
+    <ClCompile Include="cc65\output.c" />
+    <ClCompile Include="cc65\pragma.c" />
+    <ClCompile Include="cc65\preproc.c" />
+    <ClCompile Include="cc65\reginfo.c" />
+    <ClCompile Include="cc65\scanner.c" />
+    <ClCompile Include="cc65\scanstrbuf.c" />
+    <ClCompile Include="cc65\segments.c" />
+    <ClCompile Include="cc65\shiftexpr.c" />
+    <ClCompile Include="cc65\stackptr.c" />
+    <ClCompile Include="cc65\standard.c" />
+    <ClCompile Include="cc65\stdfunc.c" />
+    <ClCompile Include="cc65\stdnames.c" />
+    <ClCompile Include="cc65\stmt.c" />
+    <ClCompile Include="cc65\swstmt.c" />
+    <ClCompile Include="cc65\symentry.c" />
+    <ClCompile Include="cc65\symtab.c" />
+    <ClCompile Include="cc65\testexpr.c" />
+    <ClCompile Include="cc65\textseg.c" />
+    <ClCompile Include="cc65\typecmp.c" />
+    <ClCompile Include="cc65\typeconv.c" />
+    <ClCompile Include="cc65\util.c" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/src/cl65.vcxproj b/src/cl65.vcxproj
new file mode 100644 (file)
index 0000000..712a3f7
--- /dev/null
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{F657912F-050A-488B-B203-50ED5715CDD7}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>cl65</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;_DEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;NDEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="cl65\error.c" />
+    <ClCompile Include="cl65\global.c" />
+    <ClCompile Include="cl65\main.c" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="cl65\error.h" />
+    <ClInclude Include="cl65\global.h" />
+    <ClInclude Include="cl65\spawn.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="cl65\spawn-amiga.inc" />
+    <None Include="cl65\spawn-unix.inc" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/src/common.vcxproj b/src/common.vcxproj
new file mode 100644 (file)
index 0000000..b8b4c26
--- /dev/null
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="common\abend.h" />
+    <ClInclude Include="common\addrsize.h" />
+    <ClInclude Include="common\alignment.h" />
+    <ClInclude Include="common\assertion.h" />
+    <ClInclude Include="common\attrib.h" />
+    <ClInclude Include="common\bitops.h" />
+    <ClInclude Include="common\cddefs.h" />
+    <ClInclude Include="common\chartype.h" />
+    <ClInclude Include="common\check.h" />
+    <ClInclude Include="common\cmdline.h" />
+    <ClInclude Include="common\coll.h" />
+    <ClInclude Include="common\cpu.h" />
+    <ClInclude Include="common\debugflag.h" />
+    <ClInclude Include="common\exprdefs.h" />
+    <ClInclude Include="common\fileid.h" />
+    <ClInclude Include="common\filepos.h" />
+    <ClInclude Include="common\filestat.h" />
+    <ClInclude Include="common\filetime.h" />
+    <ClInclude Include="common\filetype.h" />
+    <ClInclude Include="common\fname.h" />
+    <ClInclude Include="common\fp.h" />
+    <ClInclude Include="common\fragdefs.h" />
+    <ClInclude Include="common\gentype.h" />
+    <ClInclude Include="common\hashfunc.h" />
+    <ClInclude Include="common\hashtab.h" />
+    <ClInclude Include="common\hlldbgsym.h" />
+    <ClInclude Include="common\inline.h" />
+    <ClInclude Include="common\intstack.h" />
+    <ClInclude Include="common\inttypes.h" />
+    <ClInclude Include="common\libdefs.h" />
+    <ClInclude Include="common\lidefs.h" />
+    <ClInclude Include="common\matchpat.h" />
+    <ClInclude Include="common\mmodel.h" />
+    <ClInclude Include="common\objdefs.h" />
+    <ClInclude Include="common\optdefs.h" />
+    <ClInclude Include="common\print.h" />
+    <ClInclude Include="common\scopedefs.h" />
+    <ClInclude Include="common\searchpath.h" />
+    <ClInclude Include="common\segdefs.h" />
+    <ClInclude Include="common\segnames.h" />
+    <ClInclude Include="common\shift.h" />
+    <ClInclude Include="common\strbuf.h" />
+    <ClInclude Include="common\strpool.h" />
+    <ClInclude Include="common\strstack.h" />
+    <ClInclude Include="common\strutil.h" />
+    <ClInclude Include="common\symdefs.h" />
+    <ClInclude Include="common\target.h" />
+    <ClInclude Include="common\tgttrans.h" />
+    <ClInclude Include="common\va_copy.h" />
+    <ClInclude Include="common\version.h" />
+    <ClInclude Include="common\xmalloc.h" />
+    <ClInclude Include="common\xsprintf.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="common\abend.c" />
+    <ClCompile Include="common\addrsize.c" />
+    <ClCompile Include="common\alignment.c" />
+    <ClCompile Include="common\assertion.c" />
+    <ClCompile Include="common\bitops.c" />
+    <ClCompile Include="common\chartype.c" />
+    <ClCompile Include="common\check.c" />
+    <ClCompile Include="common\cmdline.c" />
+    <ClCompile Include="common\coll.c" />
+    <ClCompile Include="common\cpu.c" />
+    <ClCompile Include="common\debugflag.c" />
+    <ClCompile Include="common\exprdefs.c" />
+    <ClCompile Include="common\fileid.c" />
+    <ClCompile Include="common\filepos.c" />
+    <ClCompile Include="common\filestat.c" />
+    <ClCompile Include="common\filetime.c" />
+    <ClCompile Include="common\filetype.c" />
+    <ClCompile Include="common\fname.c" />
+    <ClCompile Include="common\fp.c" />
+    <ClCompile Include="common\gentype.c" />
+    <ClCompile Include="common\hashfunc.c" />
+    <ClCompile Include="common\hashtab.c" />
+    <ClCompile Include="common\intstack.c" />
+    <ClCompile Include="common\matchpat.c" />
+    <ClCompile Include="common\mmodel.c" />
+    <ClCompile Include="common\print.c" />
+    <ClCompile Include="common\searchpath.c" />
+    <ClCompile Include="common\segnames.c" />
+    <ClCompile Include="common\shift.c" />
+    <ClCompile Include="common\strbuf.c" />
+    <ClCompile Include="common\strpool.c" />
+    <ClCompile Include="common\strstack.c" />
+    <ClCompile Include="common\strutil.c" />
+    <ClCompile Include="common\target.c" />
+    <ClCompile Include="common\tgttrans.c" />
+    <ClCompile Include="common\version.c" />
+    <ClCompile Include="common\xmalloc.c" />
+    <ClCompile Include="common\xsprintf.c" />
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{71DC1F68-BFC4-478C-8655-C8E9C9654D2B}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>common</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>StaticLibrary</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <ConfigurationType>StaticLibrary</ConfigurationType>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <OutDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <OutDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</OutDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_LIB;_DEBUG</PreprocessorDefinitions>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_LIB;NDEBUG</PreprocessorDefinitions>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/src/ld65.vcxproj b/src/ld65.vcxproj
new file mode 100644 (file)
index 0000000..a375c5e
--- /dev/null
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{26C749A0-814C-47A2-9D36-AE92AE932FE4}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>ld65</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <OutDir>$(SolutionDir)..\bin\</OutDir>
+    <IntDir>$(SolutionDir)..\wrk\$(ProjectName)\$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;_DEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CONSOLE;NDEBUG</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>common</AdditionalIncludeDirectories>
+      <TreatWarningAsError>true</TreatWarningAsError>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)..\wrk\common\$(Configuration)\common.lib</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClInclude Include="ld65\asserts.h" />
+    <ClInclude Include="ld65\bin.h" />
+    <ClInclude Include="ld65\binfmt.h" />
+    <ClInclude Include="ld65\cfgexpr.h" />
+    <ClInclude Include="ld65\condes.h" />
+    <ClInclude Include="ld65\config.h" />
+    <ClInclude Include="ld65\dbgfile.h" />
+    <ClInclude Include="ld65\dbgsyms.h" />
+    <ClInclude Include="ld65\error.h" />
+    <ClInclude Include="ld65\exports.h" />
+    <ClInclude Include="ld65\expr.h" />
+    <ClInclude Include="ld65\extsyms.h" />
+    <ClInclude Include="ld65\fileinfo.h" />
+    <ClInclude Include="ld65\fileio.h" />
+    <ClInclude Include="ld65\filepath.h" />
+    <ClInclude Include="ld65\fragment.h" />
+    <ClInclude Include="ld65\global.h" />
+    <ClInclude Include="ld65\library.h" />
+    <ClInclude Include="ld65\lineinfo.h" />
+    <ClInclude Include="ld65\mapfile.h" />
+    <ClInclude Include="ld65\memarea.h" />
+    <ClInclude Include="ld65\o65.h" />
+    <ClInclude Include="ld65\objdata.h" />
+    <ClInclude Include="ld65\objfile.h" />
+    <ClInclude Include="ld65\scanner.h" />
+    <ClInclude Include="ld65\scopes.h" />
+    <ClInclude Include="ld65\segments.h" />
+    <ClInclude Include="ld65\span.h" />
+    <ClInclude Include="ld65\spool.h" />
+    <ClInclude Include="ld65\tpool.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="ld65\asserts.c" />
+    <ClCompile Include="ld65\bin.c" />
+    <ClCompile Include="ld65\binfmt.c" />
+    <ClCompile Include="ld65\cfgexpr.c" />
+    <ClCompile Include="ld65\condes.c" />
+    <ClCompile Include="ld65\config.c" />
+    <ClCompile Include="ld65\dbgfile.c" />
+    <ClCompile Include="ld65\dbgsyms.c" />
+    <ClCompile Include="ld65\error.c" />
+    <ClCompile Include="ld65\exports.c" />
+    <ClCompile Include="ld65\expr.c" />
+    <ClCompile Include="ld65\extsyms.c" />
+    <ClCompile Include="ld65\fileinfo.c" />
+    <ClCompile Include="ld65\fileio.c" />
+    <ClCompile Include="ld65\filepath.c" />
+    <ClCompile Include="ld65\fragment.c" />
+    <ClCompile Include="ld65\global.c" />
+    <ClCompile Include="ld65\library.c" />
+    <ClCompile Include="ld65\lineinfo.c" />
+    <ClCompile Include="ld65\main.c" />
+    <ClCompile Include="ld65\mapfile.c" />
+    <ClCompile Include="ld65\memarea.c" />
+    <ClCompile Include="ld65\o65.c" />
+    <ClCompile Include="ld65\objdata.c" />
+    <ClCompile Include="ld65\objfile.c" />
+    <ClCompile Include="ld65\scanner.c" />
+    <ClCompile Include="ld65\scopes.c" />
+    <ClCompile Include="ld65\segments.c" />
+    <ClCompile Include="ld65\span.c" />
+    <ClCompile Include="ld65\spool.c" />
+    <ClCompile Include="ld65\tpool.c" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file