Add WIN32 define for MSVC builds.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug - Library|Win32">
5 <Configuration>Debug - Library</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Debug|Win32">
9 <Configuration>Debug</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
17 <PropertyGroup Label="Globals">
18 <ProjectGuid>{E12034DC-E8CB-4B49-AC0A-0D27CDED9A50}</ProjectGuid>
19 <Keyword>Win32Proj</Keyword>
20 <RootNamespace>jitcraft</RootNamespace>
22 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
23 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
24 <ConfigurationType>Application</ConfigurationType>
25 <UseDebugLibraries>true</UseDebugLibraries>
26 <CharacterSet>MultiByte</CharacterSet>
27 <PlatformToolset>v110</PlatformToolset>
29 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
30 <ConfigurationType>Application</ConfigurationType>
31 <UseDebugLibraries>false</UseDebugLibraries>
32 <WholeProgramOptimization>true</WholeProgramOptimization>
33 <CharacterSet>Unicode</CharacterSet>
34 <PlatformToolset>v110</PlatformToolset>
36 <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug - Library|Win32'">
37 <ConfigurationType>StaticLibrary</ConfigurationType>
38 <PlatformToolset>v110</PlatformToolset>
40 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
41 <ImportGroup Label="ExtensionSettings">
43 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
46 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
47 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49 <PropertyGroup Label="UserMacros" />
50 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51 <LinkIncremental>true</LinkIncremental>
53 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
54 <LinkIncremental>false</LinkIncremental>
56 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Library|Win32'">
57 <TargetExt>.lib</TargetExt>
58 <TargetName>keima</TargetName>
60 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64 <WarningLevel>Level3</WarningLevel>
65 <Optimization>Disabled</Optimization>
66 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions); _CRT_SECURE_NO_WARNINGS;KE_EXPORTING;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE</PreprocessorDefinitions>
69 <SubSystem>Console</SubSystem>
70 <GenerateDebugInformation>true</GenerateDebugInformation>
71 <RandomizedBaseAddress>false</RandomizedBaseAddress>
73 </ItemDefinitionGroup>
74 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
76 <WarningLevel>Level3</WarningLevel>
79 <Optimization>MaxSpeed</Optimization>
80 <FunctionLevelLinking>true</FunctionLevelLinking>
81 <IntrinsicFunctions>true</IntrinsicFunctions>
82 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
85 <SubSystem>Console</SubSystem>
86 <GenerateDebugInformation>true</GenerateDebugInformation>
87 <EnableCOMDATFolding>true</EnableCOMDATFolding>
88 <OptimizeReferences>true</OptimizeReferences>
90 </ItemDefinitionGroup>
91 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Library|Win32'">
93 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
94 <ExceptionHandling>false</ExceptionHandling>
95 <RuntimeTypeInfo>false</RuntimeTypeInfo>
96 <Optimization>Disabled</Optimization>
98 </ItemDefinitionGroup>
100 <ClCompile Include="API.cpp" />
101 <ClCompile Include="Array.cpp" />
102 <ClCompile Include="Box.cpp" />
103 <ClCompile Include="compiler\BytecodeEmitter.cpp" />
104 <ClCompile Include="compiler\CompileContext.cpp" />
105 <ClCompile Include="compiler\ConstantEvaluator.cpp" />
106 <ClCompile Include="compiler\HIR.cpp" />
107 <ClCompile Include="compiler\NameBinding.cpp" />
108 <ClCompile Include="compiler\Parser.cpp" />
109 <ClCompile Include="compiler\Scanner.cpp" />
110 <ClCompile Include="compiler\Scopes.cpp" />
111 <ClCompile Include="compiler\SemanticAnalysis.cpp" />
112 <ClCompile Include="compiler\Symbols.cpp" />
113 <ClCompile Include="Environments.cpp" />
114 <ClCompile Include="Exception.cpp" />
115 <ClCompile Include="FileSystem.cpp" />
116 <ClCompile Include="FixedArray.cpp" />
117 <ClCompile Include="Functions.cpp" />
118 <ClCompile Include="GlobalRoots.cpp" />
119 <ClCompile Include="Heap.cpp" />
120 <ClCompile Include="Interpreter.cpp" />
121 <ClCompile Include="main.cpp" />
122 <ClCompile Include="Modules.cpp" />
123 <ClCompile Include="NativeTable.cpp" />
124 <ClCompile Include="Opcodes.cpp" />
125 <ClCompile Include="Packages.cpp" />
126 <ClCompile Include="Platform-Windows.cpp" />
127 <ClCompile Include="PoolAllocator.cpp" />
128 <ClCompile Include="Reference.cpp" />
129 <ClCompile Include="RootScopes.cpp" />
130 <ClCompile Include="Spaces.cpp" />
131 <ClCompile Include="Stack.cpp" />
132 <ClCompile Include="StringPool.cpp" />
133 <ClCompile Include="Strings.cpp" />
134 <ClCompile Include="Structures.cpp" />
135 <ClCompile Include="TypeManager.cpp" />
136 <ClCompile Include="Types.cpp" />
137 <ClCompile Include="Zone.cpp" />
140 <ClInclude Include="..\include\keima.h" />
141 <ClInclude Include="..\include\keima_util.h" />
142 <ClInclude Include="AllocatorPolicies.h" />
143 <ClInclude Include="Array.h" />
144 <ClInclude Include="Barriers.h" />
145 <ClInclude Include="Box.h" />
146 <ClInclude Include="CompactBuffer.h" />
147 <ClInclude Include="compiler\AST.h" />
148 <ClInclude Include="compiler\BytecodeEmitter.h" />
149 <ClInclude Include="compiler\CompileContext.h" />
150 <ClInclude Include="compiler\ConstantEvaluator.h" />
151 <ClInclude Include="compiler\HIR.h" />
152 <ClInclude Include="compiler\NameBinding.h" />
153 <ClInclude Include="compiler\Parser.h" />
154 <ClInclude Include="compiler\Scanner.h" />
155 <ClInclude Include="compiler\Scopes.h" />
156 <ClInclude Include="compiler\SemanticAnalysis.h" />
157 <ClInclude Include="compiler\Symbols.h" />
158 <ClInclude Include="compiler\Token.h" />
159 <ClInclude Include="Environments.h" />
160 <ClInclude Include="FileSystem.h" />
161 <ClInclude Include="FixedArray.h" />
162 <ClInclude Include="Functions.h" />
163 <ClInclude Include="GlobalRoots.h" />
164 <ClInclude Include="Handles-inl.h" />
165 <ClInclude Include="HashTable.h" />
166 <ClInclude Include="Heap-inl.h" />
167 <ClInclude Include="InlineList.h" />
168 <ClInclude Include="Interpreter.h" />
169 <ClInclude Include="List.h" />
170 <ClInclude Include="Messages.h" />
171 <ClInclude Include="Modules.h" />
172 <ClInclude Include="Heap.h" />
173 <ClInclude Include="NativeTable.h" />
174 <ClInclude Include="Objects.h" />
175 <ClInclude Include="ObjectVisitor.h" />
176 <ClInclude Include="Opcodes.h" />
177 <ClInclude Include="Packages.h" />
178 <ClInclude Include="Platform.h" />
179 <ClInclude Include="PoolAllocator.h" />
180 <ClInclude Include="Handles.h" />
181 <ClInclude Include="QualType.h" />
182 <ClInclude Include="Reference.h" />
183 <ClInclude Include="RootScopes.h" />
184 <ClInclude Include="Code.h" />
185 <ClInclude Include="Spaces-inl.h" />
186 <ClInclude Include="Spaces.h" />
187 <ClInclude Include="Stack.h" />
188 <ClInclude Include="Strings.h" />
189 <ClInclude Include="StringPool.h" />
190 <ClInclude Include="Structures.h" />
191 <ClInclude Include="TypeManager.h" />
192 <ClInclude Include="Types.h" />
193 <ClInclude Include="Vector.h" />
194 <ClInclude Include="VirtualObjectVisitor.h" />
195 <ClInclude Include="Zone.h" />
196 <ClInclude Include="Utility.h" />
199 <None Include="Messages.tbl" />
200 <None Include="Opcodes.tbl" />
202 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
203 <ImportGroup Label="ExtensionTargets">