]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - darkplaces-sdl2-vs2019.vcxproj
Merge intoverflow.h into qdefs.h
[xonotic/darkplaces.git] / darkplaces-sdl2-vs2019.vcxproj
index a44a9231634c208ac61e4e3f463be216c9fe7cdd..70055977964b6cfe80e1bbd5ec45f04d3163ea26 100644 (file)
     <ClInclude Include="image.h" />\r
     <ClInclude Include="image_png.h" />\r
     <ClInclude Include="input.h" />\r
-    <ClInclude Include="intoverflow.h" />\r
     <ClInclude Include="jpeg.h" />\r
     <ClInclude Include="keys.h" />\r
     <ClInclude Include="lhfont.h" />\r
   <ItemGroup>\r
     <ResourceCompile Include="darkplaces.rc" />\r
   </ItemGroup>\r
+  <ItemGroup>\r
+    <None Include="packages.config" />\r
+  </ItemGroup>\r
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
   <ImportGroup Label="ExtensionTargets">\r
+    <Import Project="packages\sdl2.nuget.redist.2.0.14\build\native\sdl2.nuget.redist.targets" Condition="Exists('packages\sdl2.nuget.redist.2.0.14\build\native\sdl2.nuget.redist.targets')" />\r
+    <Import Project="packages\sdl2.nuget.2.0.14\build\native\sdl2.nuget.targets" Condition="Exists('packages\sdl2.nuget.2.0.14\build\native\sdl2.nuget.targets')" />\r
   </ImportGroup>\r
+  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">\r
+    <PropertyGroup>\r
+      <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>\r
+    </PropertyGroup>\r
+    <Error Condition="!Exists('packages\sdl2.nuget.redist.2.0.14\build\native\sdl2.nuget.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\sdl2.nuget.redist.2.0.14\build\native\sdl2.nuget.redist.targets'))" />\r
+    <Error Condition="!Exists('packages\sdl2.nuget.2.0.14\build\native\sdl2.nuget.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\sdl2.nuget.2.0.14\build\native\sdl2.nuget.targets'))" />\r
+  </Target>\r
 </Project>
\ No newline at end of file