aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/windows-bootstrap/vcpkg.props
blob: 1d947866089d741ba955aa51f720e26ffbe3b178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="latest" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <PlatformToolset Condition="'$(PlatformToolset)'==''">$(DefaultPlatformToolset)</PlatformToolset>
  </PropertyGroup>
  <Choose>
    <When Condition="'$(PlatformToolset)' == 'v140'">
      <PropertyGroup>
          <VcpkgUseStdFilesystem>0</VcpkgUseStdFilesystem>
      </PropertyGroup>
    </When>
    <Otherwise>
      <PropertyGroup>
          <VcpkgUseStdFilesystem>1</VcpkgUseStdFilesystem>
      </PropertyGroup>
    </Otherwise>
  </Choose>
  <ItemDefinitionGroup>
    <ClCompile>
      <PreprocessorDefinitions>VCPKG_USE_STD_FILESYSTEM=$(VcpkgUseStdFilesystem);%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
  </ItemDefinitionGroup>
</Project>