Directory.Build.props 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (c) Contributors to the Open 3D Engine Project.
  4. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. SPDX-License-Identifier: Apache-2.0 OR MIT
  6. -->
  7. <Project>
  8. <PropertyGroup>
  9. <UseMultiToolTask>true</UseMultiToolTask>
  10. <EnforceProcessCountAcrossBuilds>true</EnforceProcessCountAcrossBuilds>
  11. <!-- Add a mapping of configurations to those known by vcpkg to prevent warnings/messages during the build -->
  12. @VCPKG_CONFIGURATION_MAPPING@
  13. <!-- Disable vcpkg to prevent include and linking paths from being added by the vcpkg integration -->
  14. <VcpkgEnabled>false</VcpkgEnabled>
  15. <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CodeAnalysis.ruleset</CodeAnalysisRuleSet>
  16. </PropertyGroup>
  17. <ItemDefinitionGroup>
  18. <ClCompile>
  19. <!-- We pass the external flags directly since CMake did not support it. Once the minimal version of CMake
  20. handles external headers in MSVC, we can remove that code and this
  21. -->
  22. <ExternalWarningLevel>TurnOffAllWarnings</ExternalWarningLevel>
  23. <!-- We also disable the analysis of external headers. -->
  24. <DisableAnalyzeExternal>true</DisableAnalyzeExternal>
  25. </ClCompile>
  26. </ItemDefinitionGroup>
  27. <!-- Continue scanning upwards to pick up all Directory.Build.props -->
  28. <Import Condition="'@scan_above_directory_build_props@' != ''" Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
  29. </Project>