comparison win/lwasm.vcxproj @ 361:4130ffdeb5c8

Add contributed support for building with Microsoft's compiler Thanks to Erik G <erik@6809.org> for various updates to allow building with Microsoft's compiler. These changes, in addition to some other generally good fixups from other commits, include: * move the version define to its own source file instead of as an option in Makefile. This is better anyway. * add some compatibilty stuff to lwlib This support is minimally invasive so it should continue to work. However, this is contributed code which I have no way to test.
author William Astle <lost@l-w.ca>
date Tue, 26 May 2015 17:53:51 -0600
parents
children 35d4213e6657
comparison
equal deleted inserted replaced
360:ade217fd76a5 361:4130ffdeb5c8
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 </ItemGroup>
13 <ItemGroup>
14 <ClCompile Include="..\lwasm\debug.c" />
15 <ClCompile Include="..\lwasm\input.c" />
16 <ClCompile Include="..\lwasm\insn_bitbit.c" />
17 <ClCompile Include="..\lwasm\insn_gen.c" />
18 <ClCompile Include="..\lwasm\insn_indexed.c" />
19 <ClCompile Include="..\lwasm\insn_inh.c" />
20 <ClCompile Include="..\lwasm\insn_logicmem.c" />
21 <ClCompile Include="..\lwasm\insn_rel.c" />
22 <ClCompile Include="..\lwasm\insn_rlist.c" />
23 <ClCompile Include="..\lwasm\insn_rtor.c" />
24 <ClCompile Include="..\lwasm\insn_tfm.c" />
25 <ClCompile Include="..\lwasm\instab.c" />
26 <ClCompile Include="..\lwasm\list.c" />
27 <ClCompile Include="..\lwasm\lwasm.c" />
28 <ClCompile Include="..\lwasm\macro.c" />
29 <ClCompile Include="..\lwasm\main.c" />
30 <ClCompile Include="..\lwasm\os9.c" />
31 <ClCompile Include="..\lwasm\output.c" />
32 <ClCompile Include="..\lwasm\pass1.c" />
33 <ClCompile Include="..\lwasm\pass2.c" />
34 <ClCompile Include="..\lwasm\pass3.c" />
35 <ClCompile Include="..\lwasm\pass4.c" />
36 <ClCompile Include="..\lwasm\pass5.c" />
37 <ClCompile Include="..\lwasm\pass6.c" />
38 <ClCompile Include="..\lwasm\pass7.c" />
39 <ClCompile Include="..\lwasm\pragma.c" />
40 <ClCompile Include="..\lwasm\pseudo.c" />
41 <ClCompile Include="..\lwasm\section.c" />
42 <ClCompile Include="..\lwasm\struct.c" />
43 <ClCompile Include="..\lwasm\symbol.c" />
44 <ClCompile Include="..\lwasm\unicorns.c" />
45 </ItemGroup>
46 <ItemGroup>
47 <ClInclude Include="..\lwasm\input.h" />
48 <ClInclude Include="..\lwasm\instab.h" />
49 <ClInclude Include="..\lwasm\lwasm.h" />
50 </ItemGroup>
51 <ItemGroup>
52 <ProjectReference Include="lwlib.vcxproj">
53 <Project>{93a52e3f-d19d-4a1a-8b8f-15270bd3d0e2}</Project>
54 </ProjectReference>
55 </ItemGroup>
56 <PropertyGroup Label="Globals">
57 <ProjectGuid>{52309F4D-C1D8-43FC-BC02-C71B69D01E3B}</ProjectGuid>
58 <Keyword>Win32Proj</Keyword>
59 <RootNamespace>lwasm</RootNamespace>
60 </PropertyGroup>
61 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
62 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
63 <ConfigurationType>Application</ConfigurationType>
64 <UseDebugLibraries>true</UseDebugLibraries>
65 <PlatformToolset>v120</PlatformToolset>
66 <CharacterSet>Unicode</CharacterSet>
67 </PropertyGroup>
68 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
69 <ConfigurationType>Application</ConfigurationType>
70 <UseDebugLibraries>false</UseDebugLibraries>
71 <PlatformToolset>v120</PlatformToolset>
72 <WholeProgramOptimization>true</WholeProgramOptimization>
73 <CharacterSet>Unicode</CharacterSet>
74 </PropertyGroup>
75 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
76 <ImportGroup Label="ExtensionSettings">
77 </ImportGroup>
78 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
79 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
80 </ImportGroup>
81 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
82 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
83 </ImportGroup>
84 <PropertyGroup Label="UserMacros" />
85 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86 <LinkIncremental>true</LinkIncremental>
87 <OutDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</OutDir>
88 <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
89 </PropertyGroup>
90 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
91 <LinkIncremental>false</LinkIncremental>
92 <OutDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</OutDir>
93 <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
94 </PropertyGroup>
95 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
96 <ClCompile>
97 <PrecompiledHeader>
98 </PrecompiledHeader>
99 <WarningLevel>Level3</WarningLevel>
100 <Optimization>Disabled</Optimization>
101 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
102 <AdditionalIncludeDirectories>../lwlib</AdditionalIncludeDirectories>
103 </ClCompile>
104 <Link>
105 <SubSystem>Console</SubSystem>
106 <GenerateDebugInformation>true</GenerateDebugInformation>
107 </Link>
108 </ItemDefinitionGroup>
109 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
110 <ClCompile>
111 <WarningLevel>Level3</WarningLevel>
112 <PrecompiledHeader>
113 </PrecompiledHeader>
114 <Optimization>MaxSpeed</Optimization>
115 <FunctionLevelLinking>true</FunctionLevelLinking>
116 <IntrinsicFunctions>true</IntrinsicFunctions>
117 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
118 <AdditionalIncludeDirectories>../lwlib</AdditionalIncludeDirectories>
119 </ClCompile>
120 <Link>
121 <SubSystem>Console</SubSystem>
122 <GenerateDebugInformation>true</GenerateDebugInformation>
123 <EnableCOMDATFolding>true</EnableCOMDATFolding>
124 <OptimizeReferences>true</OptimizeReferences>
125 </Link>
126 </ItemDefinitionGroup>
127 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
128 <ImportGroup Label="ExtensionTargets">
129 </ImportGroup>
130 </Project>