DKGL2 sample codes

Triangle.vcxproj 8.6KB

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