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|Win32">
5      <Configuration>Debug</Configuration>
6      <Platform>Win32</Platform>
7    </ProjectConfiguration>
8    <ProjectConfiguration Include="Debug|x64">
9      <Configuration>Debug</Configuration>
10      <Platform>x64</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="Release|Win32">
13      <Configuration>Release</Configuration>
14      <Platform>Win32</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="Release|x64">
17      <Configuration>Release</Configuration>
18      <Platform>x64</Platform>
19    </ProjectConfiguration>
20  </ItemGroup>
21  <PropertyGroup Label="Globals">
22    <ProjectGuid>{E746FCA9-64C3-433E-85E8-9A5A67AB7ED6}</ProjectGuid>
23    <RootNamespace>libEGL</RootNamespace>
24    <Keyword>Win32Proj</Keyword>
25  </PropertyGroup>
26  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28    <ConfigurationType>DynamicLibrary</ConfigurationType>
29    <CharacterSet>Unicode</CharacterSet>
30    <WholeProgramOptimization>true</WholeProgramOptimization>
31  </PropertyGroup>
32  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33    <ConfigurationType>DynamicLibrary</ConfigurationType>
34    <CharacterSet>Unicode</CharacterSet>
35  </PropertyGroup>
36  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
37    <ConfigurationType>DynamicLibrary</ConfigurationType>
38    <CharacterSet>Unicode</CharacterSet>
39    <WholeProgramOptimization>true</WholeProgramOptimization>
40  </PropertyGroup>
41  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42    <ConfigurationType>DynamicLibrary</ConfigurationType>
43    <CharacterSet>Unicode</CharacterSet>
44  </PropertyGroup>
45  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
46  <ImportGroup Label="ExtensionSettings">
47  </ImportGroup>
48  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
49    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
50  </ImportGroup>
51  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
52    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53  </ImportGroup>
54  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
55    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56  </ImportGroup>
57  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
58    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59  </ImportGroup>
60  <PropertyGroup Label="UserMacros" />
61  <PropertyGroup>
62    <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
63    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
64    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
65    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
66    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
67    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
68    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
69    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
70    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
71    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
72    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
73    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
74    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
75    <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(LibraryPath)</LibraryPath>
76    <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(DXSDK_DIR)\lib\x86;$(LibraryPath)</LibraryPath>
77    <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(LibraryPath)</LibraryPath>
78    <LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(LibraryPath)</LibraryPath>
79    <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(DXSDK_DIR)\include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;</IncludePath>
80  </PropertyGroup>
81  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
82    <ClCompile>
83      <Optimization>Disabled</Optimization>
84      <AdditionalIncludeDirectories>$(ProjectDir)/..; $(ProjectDir)/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
85      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBEGL_EXPORTS;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
86      <MinimalRebuild>true</MinimalRebuild>
87      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
88      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
89      <PrecompiledHeader>
90      </PrecompiledHeader>
91      <WarningLevel>Level4</WarningLevel>
92      <TreatWarningAsError>true</TreatWarningAsError>
93      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
94      <DisableSpecificWarnings>4100;4127;4189;4239;4244;4245;4512;4702;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
95    </ClCompile>
96    <Link>
97      <AdditionalDependencies>d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
98      <ModuleDefinitionFile>libEGL.def</ModuleDefinitionFile>
99      <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
100      <GenerateDebugInformation>true</GenerateDebugInformation>
101      <SubSystem>Windows</SubSystem>
102      <DataExecutionPrevention>
103      </DataExecutionPrevention>
104      <TargetMachine>MachineX86</TargetMachine>
105    </Link>
106    <PostBuildEvent>
107      <Command>%40echo on
108mkdir "$(ProjectDir)..\..\lib\$(Configuration)\"
109copy "$(OutDir)libEGL.dll" "$(ProjectDir)..\..\lib\$(Configuration)\"
110copy "$(OutDir)libEGL.lib" "$(ProjectDir)..\..\lib\$(Configuration)\"
111%40echo off
112</Command>
113    </PostBuildEvent>
114  </ItemDefinitionGroup>
115  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
116    <ClCompile>
117      <Optimization>MaxSpeed</Optimization>
118      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
119      <AdditionalIncludeDirectories>$(ProjectDir)/..; $(ProjectDir)/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
120      <PreprocessorDefinitions>ANGLE_DISABLE_TRACE;WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBEGL_EXPORTS;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
122      <PrecompiledHeader>
123      </PrecompiledHeader>
124      <WarningLevel>Level4</WarningLevel>
125      <TreatWarningAsError>true</TreatWarningAsError>
126      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
127      <DisableSpecificWarnings>4100;4127;4189;4239;4244;4245;4512;4702;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
128    </ClCompile>
129    <Link>
130      <AdditionalDependencies>d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
131      <ModuleDefinitionFile>libEGL.def</ModuleDefinitionFile>
132      <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
133      <GenerateDebugInformation>true</GenerateDebugInformation>
134      <SubSystem>Windows</SubSystem>
135      <OptimizeReferences>true</OptimizeReferences>
136      <EnableCOMDATFolding>true</EnableCOMDATFolding>
137      <DataExecutionPrevention>
138      </DataExecutionPrevention>
139      <TargetMachine>MachineX86</TargetMachine>
140    </Link>
141    <PostBuildEvent>
142      <Command>%40echo on
143mkdir "$(ProjectDir)..\..\lib\$(Configuration)\"
144copy "$(OutDir)libEGL.dll" "$(ProjectDir)..\..\lib\$(Configuration)\"
145copy "$(OutDir)libEGL.lib" "$(ProjectDir)..\..\lib\$(Configuration)\"
146%40echo off
147</Command>
148    </PostBuildEvent>
149  </ItemDefinitionGroup>
150  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
151    <Midl>
152      <TargetEnvironment>X64</TargetEnvironment>
153    </Midl>
154    <ClCompile>
155      <Optimization>Disabled</Optimization>
156      <AdditionalIncludeDirectories>$(ProjectDir)/..; $(ProjectDir)/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
157      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBEGL_EXPORTS;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
158      <MinimalRebuild>true</MinimalRebuild>
159      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
160      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
161      <PrecompiledHeader>
162      </PrecompiledHeader>
163      <WarningLevel>Level4</WarningLevel>
164      <DisableSpecificWarnings>4100;4127;4189;4239;4244;4245;4512;4702;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
165      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
166      <TreatWarningAsError>true</TreatWarningAsError>
167    </ClCompile>
168    <Link>
169      <AdditionalDependencies>d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
170      <ModuleDefinitionFile>libEGL.def</ModuleDefinitionFile>
171      <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
172      <GenerateDebugInformation>true</GenerateDebugInformation>
173      <SubSystem>Windows</SubSystem>
174      <DataExecutionPrevention>
175      </DataExecutionPrevention>
176      <TargetMachine>MachineX64</TargetMachine>
177    </Link>
178    <PostBuildEvent>
179      <Command>%40echo on
180mkdir "$(ProjectDir)..\..\lib\$(Configuration)\"
181copy "$(OutDir)libEGL.dll" "$(ProjectDir)..\..\lib\$(Configuration)\"
182copy "$(OutDir)libEGL.lib" "$(ProjectDir)..\..\lib\$(Configuration)\"
183%40echo off
184</Command>
185    </PostBuildEvent>
186  </ItemDefinitionGroup>
187  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
188    <Midl>
189      <TargetEnvironment>X64</TargetEnvironment>
190    </Midl>
191    <ClCompile>
192      <Optimization>MaxSpeed</Optimization>
193      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
194      <AdditionalIncludeDirectories>$(ProjectDir)/..; $(ProjectDir)/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
195      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBEGL_EXPORTS;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
196      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
197      <PrecompiledHeader>
198      </PrecompiledHeader>
199      <WarningLevel>Level4</WarningLevel>
200      <DisableSpecificWarnings>4100;4127;4189;4239;4244;4245;4512;4702;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
201      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
202      <TreatWarningAsError>true</TreatWarningAsError>
203    </ClCompile>
204    <Link>
205      <AdditionalDependencies>d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
206      <ModuleDefinitionFile>libEGL.def</ModuleDefinitionFile>
207      <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
208      <GenerateDebugInformation>true</GenerateDebugInformation>
209      <SubSystem>Windows</SubSystem>
210      <OptimizeReferences>true</OptimizeReferences>
211      <EnableCOMDATFolding>true</EnableCOMDATFolding>
212      <DataExecutionPrevention>
213      </DataExecutionPrevention>
214      <TargetMachine>MachineX64</TargetMachine>
215    </Link>
216    <PostBuildEvent>
217      <Command>%40echo on
218mkdir "$(ProjectDir)..\..\lib\$(Configuration)\"
219copy "$(OutDir)libEGL.dll" "$(ProjectDir)..\..\lib\$(Configuration)\"
220copy "$(OutDir)libEGL.lib" "$(ProjectDir)..\..\lib\$(Configuration)\"
221%40echo off
222</Command>
223    </PostBuildEvent>
224  </ItemDefinitionGroup>
225  <ItemGroup>
226    <ClCompile Include="Config.cpp" />
227    <ClCompile Include="..\Common\debug.cpp" />
228    <ClCompile Include="Display.cpp" />
229    <ClCompile Include="libEGL.cpp" />
230    <ClCompile Include="main.cpp" />
231    <ClCompile Include="Surface.cpp" />
232  </ItemGroup>
233  <ItemGroup>
234    <ClInclude Include="Config.h" />
235    <ClInclude Include="Display.h" />
236    <ClInclude Include="..\..\include\EGL\egl.h" />
237    <ClInclude Include="..\..\include\EGL\eglext.h" />
238    <ClInclude Include="..\..\include\EGL\eglplatform.h" />
239    <ClInclude Include="main.h" />
240    <ClInclude Include="resource.h" />
241    <ClInclude Include="Surface.h" />
242    <ClInclude Include="..\common\version.h" />
243  </ItemGroup>
244  <ItemGroup>
245    <None Include="libEGL.def" />
246  </ItemGroup>
247  <ItemGroup>
248    <ResourceCompile Include="libEGL.rc" />
249  </ItemGroup>
250  <ItemGroup>
251    <ProjectReference Include="..\libGLESv2\libGLESv2.vcxproj">
252      <Project>{b5871a7a-968c-42e3-a33b-981e6f448e78}</Project>
253    </ProjectReference>
254  </ItemGroup>
255  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
256  <ImportGroup Label="ExtensionTargets">
257  </ImportGroup>
258</Project>