DKGL2 sample codes

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="15.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. <ProjectConfiguration Include="Debug|x64">
  13. <Configuration>Debug</Configuration>
  14. <Platform>x64</Platform>
  15. </ProjectConfiguration>
  16. <ProjectConfiguration Include="Release|x64">
  17. <Configuration>Release</Configuration>
  18. <Platform>x64</Platform>
  19. </ProjectConfiguration>
  20. </ItemGroup>
  21. <ItemGroup>
  22. <ClInclude Include="..\Common\app.h" />
  23. <ClInclude Include="..\Common\util.h" />
  24. <ClInclude Include="..\Common\Win32\Resource.h" />
  25. <ClInclude Include="..\Common\Win32\stdafx.h" />
  26. <ClInclude Include="..\Common\Win32\targetver.h" />
  27. <ClInclude Include="..\Libs\tinyobjLoader\tiny_obj_loader.h" />
  28. </ItemGroup>
  29. <ItemGroup>
  30. <Image Include="..\Common\Win32\SampleApp.ico" />
  31. <Image Include="..\Common\Win32\small.ico" />
  32. </ItemGroup>
  33. <ItemGroup>
  34. <ResourceCompile Include="..\Common\Win32\SampleApp.rc" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <ClCompile Include="..\Common\dkgl_new.cpp" />
  38. <ClCompile Include="..\Libs\tinyobjLoader\tiny_obj_loader.cc" />
  39. <ClCompile Include="Mesh.cpp" />
  40. </ItemGroup>
  41. <ItemGroup>
  42. <ProjectReference Include="..\..\DK\DK_static.vcxproj">
  43. <Project>{c7312831-a3f6-4e7d-962b-6786972f0a6a}</Project>
  44. </ProjectReference>
  45. </ItemGroup>
  46. <PropertyGroup Label="Globals">
  47. <VCProjectVersion>15.0</VCProjectVersion>
  48. <ProjectGuid>{B26FBAF5-AD65-4E87-B0B3-5D7FA63C9228}</ProjectGuid>
  49. <Keyword>Win32Proj</Keyword>
  50. <RootNamespace>Texture</RootNamespace>
  51. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  52. </PropertyGroup>
  53. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  54. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  55. <ConfigurationType>Application</ConfigurationType>
  56. <UseDebugLibraries>true</UseDebugLibraries>
  57. <PlatformToolset>v142</PlatformToolset>
  58. <CharacterSet>Unicode</CharacterSet>
  59. </PropertyGroup>
  60. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  61. <ConfigurationType>Application</ConfigurationType>
  62. <UseDebugLibraries>false</UseDebugLibraries>
  63. <PlatformToolset>v142</PlatformToolset>
  64. <WholeProgramOptimization>true</WholeProgramOptimization>
  65. <CharacterSet>Unicode</CharacterSet>
  66. </PropertyGroup>
  67. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  68. <ConfigurationType>Application</ConfigurationType>
  69. <UseDebugLibraries>true</UseDebugLibraries>
  70. <PlatformToolset>v142</PlatformToolset>
  71. <CharacterSet>Unicode</CharacterSet>
  72. </PropertyGroup>
  73. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  74. <ConfigurationType>Application</ConfigurationType>
  75. <UseDebugLibraries>false</UseDebugLibraries>
  76. <PlatformToolset>v142</PlatformToolset>
  77. <WholeProgramOptimization>true</WholeProgramOptimization>
  78. <CharacterSet>Unicode</CharacterSet>
  79. </PropertyGroup>
  80. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  81. <ImportGroup Label="ExtensionSettings">
  82. </ImportGroup>
  83. <ImportGroup Label="Shared">
  84. </ImportGroup>
  85. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  86. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  87. <Import Project="..\..\Samples.props" />
  88. </ImportGroup>
  89. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  90. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  91. <Import Project="..\..\Samples.props" />
  92. </ImportGroup>
  93. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  94. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  95. <Import Project="..\..\Samples.props" />
  96. </ImportGroup>
  97. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  98. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  99. <Import Project="..\..\Samples.props" />
  100. </ImportGroup>
  101. <PropertyGroup Label="UserMacros" />
  102. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  103. <LinkIncremental>true</LinkIncremental>
  104. </PropertyGroup>
  105. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  106. <LinkIncremental>true</LinkIncremental>
  107. </PropertyGroup>
  108. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  109. <LinkIncremental>false</LinkIncremental>
  110. </PropertyGroup>
  111. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  112. <LinkIncremental>false</LinkIncremental>
  113. </PropertyGroup>
  114. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  115. <ClCompile>
  116. <WarningLevel>Level3</WarningLevel>
  117. <Optimization>Disabled</Optimization>
  118. <SDLCheck>true</SDLCheck>
  119. <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  120. <ConformanceMode>true</ConformanceMode>
  121. <LanguageStandard_C>Default</LanguageStandard_C>
  122. </ClCompile>
  123. <Link>
  124. <SubSystem>Windows</SubSystem>
  125. <GenerateDebugInformation>true</GenerateDebugInformation>
  126. </Link>
  127. <PostBuildEvent>
  128. <Command>echo Copying Resource Files...
  129. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  130. </Command>
  131. </PostBuildEvent>
  132. </ItemDefinitionGroup>
  133. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  134. <ClCompile>
  135. <WarningLevel>Level3</WarningLevel>
  136. <Optimization>Disabled</Optimization>
  137. <SDLCheck>true</SDLCheck>
  138. <PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  139. <ConformanceMode>true</ConformanceMode>
  140. <LanguageStandard_C>Default</LanguageStandard_C>
  141. </ClCompile>
  142. <Link>
  143. <SubSystem>Windows</SubSystem>
  144. <GenerateDebugInformation>true</GenerateDebugInformation>
  145. </Link>
  146. <PostBuildEvent>
  147. <Command>echo Copying Resource Files...
  148. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  149. </Command>
  150. </PostBuildEvent>
  151. </ItemDefinitionGroup>
  152. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  153. <ClCompile>
  154. <WarningLevel>Level3</WarningLevel>
  155. <Optimization>MaxSpeed</Optimization>
  156. <FunctionLevelLinking>true</FunctionLevelLinking>
  157. <IntrinsicFunctions>true</IntrinsicFunctions>
  158. <SDLCheck>true</SDLCheck>
  159. <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  160. <ConformanceMode>true</ConformanceMode>
  161. <LanguageStandard_C>Default</LanguageStandard_C>
  162. </ClCompile>
  163. <Link>
  164. <SubSystem>Windows</SubSystem>
  165. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  166. <OptimizeReferences>true</OptimizeReferences>
  167. <GenerateDebugInformation>true</GenerateDebugInformation>
  168. </Link>
  169. <PostBuildEvent>
  170. <Command>echo Copying Resource Files...
  171. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  172. </Command>
  173. </PostBuildEvent>
  174. </ItemDefinitionGroup>
  175. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  176. <ClCompile>
  177. <WarningLevel>Level3</WarningLevel>
  178. <Optimization>MaxSpeed</Optimization>
  179. <FunctionLevelLinking>true</FunctionLevelLinking>
  180. <IntrinsicFunctions>true</IntrinsicFunctions>
  181. <SDLCheck>true</SDLCheck>
  182. <PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  183. <ConformanceMode>true</ConformanceMode>
  184. <LanguageStandard_C>Default</LanguageStandard_C>
  185. </ClCompile>
  186. <Link>
  187. <SubSystem>Windows</SubSystem>
  188. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  189. <OptimizeReferences>true</OptimizeReferences>
  190. <GenerateDebugInformation>true</GenerateDebugInformation>
  191. </Link>
  192. <PostBuildEvent>
  193. <Command>echo Copying Resource Files...
  194. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  195. </Command>
  196. </PostBuildEvent>
  197. </ItemDefinitionGroup>
  198. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  199. <ImportGroup Label="ExtensionTargets">
  200. </ImportGroup>
  201. </Project>