You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

178 line
10 KiB

UWP Support Overhaul (#819) * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
5 年之前
UWP Support Overhaul (#819) * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
5 年之前
UWP Support Overhaul (#819) * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
5 年之前
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="14.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. <ProjectConfiguration Include="Debug|ARM">
  21. <Configuration>Debug</Configuration>
  22. <Platform>ARM</Platform>
  23. </ProjectConfiguration>
  24. <ProjectConfiguration Include="Release|ARM">
  25. <Configuration>Release</Configuration>
  26. <Platform>ARM</Platform>
  27. </ProjectConfiguration>
  28. </ItemGroup>
  29. <PropertyGroup Label="Globals">
  30. <ProjectGuid>{b842558c-c034-4e4b-9457-a286f26e83cc}</ProjectGuid>
  31. <RootNamespace>raylibUWP</RootNamespace>
  32. <DefaultLanguage>en-US</DefaultLanguage>
  33. <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
  34. <AppContainerApplication>true</AppContainerApplication>
  35. <ApplicationType>Windows Store</ApplicationType>
  36. <WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
  37. <WindowsTargetPlatformMinVersion>10.0.18362.0</WindowsTargetPlatformMinVersion>
  38. <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
  39. <ProjectName>raylib.App.UWP</ProjectName>
  40. </PropertyGroup>
  41. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  42. <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
  43. <ConfigurationType>Application</ConfigurationType>
  44. <UseDebugLibraries>true</UseDebugLibraries>
  45. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  46. </PropertyGroup>
  47. <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
  48. <ConfigurationType>Application</ConfigurationType>
  49. <UseDebugLibraries>false</UseDebugLibraries>
  50. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  51. </PropertyGroup>
  52. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  53. <ImportGroup Label="PropertySheets">
  54. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  55. </ImportGroup>
  56. <PropertyGroup Label="UserMacros" />
  57. <PropertyGroup>
  58. <PackageCertificateKeyFile>raylib.App.UWP.TemporaryKey.pfx</PackageCertificateKeyFile>
  59. </PropertyGroup>
  60. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
  61. <IncludePath>$(IncludePath)</IncludePath>
  62. <LibraryPath>$(LibraryPath)</LibraryPath>
  63. <OutDir>$(SolutionDir)\Build\$(ProjectName)\bin\$(Configuration)\$(Platform)</OutDir>
  64. <IntDir>$(SolutionDir)\Build\$(ProjectName)\obj\$(Configuration)\$(Platform)</IntDir>
  65. </PropertyGroup>
  66. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  67. <OutDir>$(SolutionDir)\Build\$(ProjectName)\bin\$(Configuration)\$(Platform)</OutDir>
  68. <IntDir>$(SolutionDir)\Build\$(ProjectName)\obj\$(Configuration)\$(Platform)</IntDir>
  69. </PropertyGroup>
  70. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  71. <OutDir>$(SolutionDir)\Build\$(ProjectName)\bin\$(Configuration)\$(Platform)</OutDir>
  72. <IntDir>$(SolutionDir)\Build\$(ProjectName)\obj\$(Configuration)\$(Platform)</IntDir>
  73. </PropertyGroup>
  74. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  75. <OutDir>$(SolutionDir)\Build\$(ProjectName)\bin\$(Configuration)\$(Platform)</OutDir>
  76. <IntDir>$(SolutionDir)\Build\$(ProjectName)\obj\$(Configuration)\$(Platform)</IntDir>
  77. </PropertyGroup>
  78. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  79. <OutDir>$(SolutionDir)\Build\$(ProjectName)\bin\$(Configuration)\$(Platform)</OutDir>
  80. <IntDir>$(SolutionDir)\Build\$(ProjectName)\obj\$(Configuration)\$(Platform)</IntDir>
  81. </PropertyGroup>
  82. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
  83. <OutDir>$(SolutionDir)\Build\$(ProjectName)\bin\$(Configuration)\$(Platform)</OutDir>
  84. <IntDir>$(SolutionDir)\Build\$(ProjectName)\obj\$(Configuration)\$(Platform)</IntDir>
  85. </PropertyGroup>
  86. <ItemDefinitionGroup Condition="'$(Platform)'=='ARM'">
  87. <Link>
  88. <AdditionalDependencies>mincore.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
  89. <AdditionalLibraryDirectories>$(VCInstallDir)\lib\store\arm;$(VCInstallDir)\lib\arm;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  90. </Link>
  91. </ItemDefinitionGroup>
  92. <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
  93. <Link>
  94. <AdditionalDependencies>mincore.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
  95. <AdditionalLibraryDirectories>$(VCInstallDir)\lib\store; $(VCInstallDir)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  96. </Link>
  97. </ItemDefinitionGroup>
  98. <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
  99. <Link>
  100. <AdditionalDependencies>mincore.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
  101. <AdditionalLibraryDirectories>$(VCInstallDir)\lib\store\amd64;$(VCInstallDir)\lib\amd64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  102. </Link>
  103. </ItemDefinitionGroup>
  104. <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
  105. <ClCompile>
  106. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  107. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  108. <AdditionalIncludeDirectories>$(SolutionDir)..\..\src;$(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  109. <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
  110. <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
  111. <PreprocessorDefinitions>PLATFORM_UWP;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  112. <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">MultiThreadedDebugDLL</RuntimeLibrary>
  113. <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">MultiThreadedDebugDLL</RuntimeLibrary>
  114. <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">MultiThreadedDebugDLL</RuntimeLibrary>
  115. </ClCompile>
  116. <ProjectReference>
  117. <LinkLibraryDependencies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkLibraryDependencies>
  118. </ProjectReference>
  119. </ItemDefinitionGroup>
  120. <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
  121. <ClCompile>
  122. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  123. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  124. <AdditionalIncludeDirectories>$(SolutionDir)..\..\src;$(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  125. <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
  126. <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
  127. <PreprocessorDefinitions>PLATFORM_UWP;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  128. <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Default</CompileAs>
  129. <OmitDefaultLibName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</OmitDefaultLibName>
  130. <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">MultiThreadedDLL</RuntimeLibrary>
  131. <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MultiThreadedDLL</RuntimeLibrary>
  132. <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MultiThreadedDLL</RuntimeLibrary>
  133. </ClCompile>
  134. <Link>
  135. <AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/NODEFAULTLIB %(AdditionalOptions)</AdditionalOptions>
  136. </Link>
  137. </ItemDefinitionGroup>
  138. <ItemGroup>
  139. <Image Include="Assets\Logo.scale-100.png" />
  140. <Image Include="Assets\SmallLogo.scale-100.png" />
  141. <Image Include="Assets\StoreLogo.scale-100.png" />
  142. <Image Include="Assets\SplashScreen.scale-100.png" />
  143. <Image Include="Assets\WideLogo.scale-100.png" />
  144. </ItemGroup>
  145. <ItemGroup>
  146. <ClInclude Include="App.h" />
  147. <ClInclude Include="pch.h" />
  148. </ItemGroup>
  149. <ItemGroup>
  150. <ClCompile Include="App.cpp" />
  151. <ClCompile Include="pch.cpp">
  152. <PrecompiledHeader>Create</PrecompiledHeader>
  153. </ClCompile>
  154. </ItemGroup>
  155. <ItemGroup>
  156. <AppxManifest Include="Package.appxmanifest">
  157. <SubType>Designer</SubType>
  158. </AppxManifest>
  159. <None Include="raylib.App.UWP.TemporaryKey.pfx" />
  160. </ItemGroup>
  161. <ItemGroup>
  162. <ProjectReference Include="..\raylib.UWP\raylib.UWP.vcxproj">
  163. <Project>{ea91e088-7c71-4f32-b761-e054305cd519}</Project>
  164. </ProjectReference>
  165. </ItemGroup>
  166. <ItemGroup>
  167. <None Include="packages.config" />
  168. </ItemGroup>
  169. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  170. <ImportGroup Label="ExtensionTargets">
  171. <Import Project="..\packages\ANGLE.WindowsStore.2.1.13\build\native\ANGLE.WindowsStore.targets" Condition="Exists('..\packages\ANGLE.WindowsStore.2.1.13\build\native\ANGLE.WindowsStore.targets')" />
  172. </ImportGroup>
  173. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  174. <PropertyGroup>
  175. <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
  176. </PropertyGroup>
  177. <Error Condition="!Exists('..\packages\ANGLE.WindowsStore.2.1.13\build\native\ANGLE.WindowsStore.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ANGLE.WindowsStore.2.1.13\build\native\ANGLE.WindowsStore.targets'))" />
  178. </Target>
  179. </Project>