﻿<!--
***********************************************************************************************
Microsoft.Cpp.MSVC.Toolset.Common.props

WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
          created a backup copy.  Incorrect changes to this file will make it
          impossible to load or build your projects from the command-line or the IDE.

Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <PropertyGroup>
    <!-- Required for enabling Team Build for packaging Windows Store app projects -->
    <OutDirWasSpecified Condition=" '$(OutDir)'!='' and '$(OutDirWasSpecified)'=='' ">true</OutDirWasSpecified>
    <OutDirWasSpecified Condition=" '$(OutDir)'=='' and '$(OutDirWasSpecified)'=='' ">false</OutDirWasSpecified>
  </PropertyGroup>

  <PropertyGroup Condition ="'$(IntDir)' == '' and '$(IntermediateOutputPath)' != ''">
    <IntDir>$(IntermediateOutputPath)</IntDir>
  </PropertyGroup>

  <PropertyGroup Condition ="'$(ShortProjectName)' == '' and '$(ProjectName)' != '' and '$(ProjectGuid)' != ''">
    <ShortProjectName>$(ProjectName)</ShortProjectName>
    <ShortProjectName Condition="'$(ProjectName.Length)' &gt; '16'">$(ProjectName.Substring(0,8)).$(ProjectGuid.Substring(1,8))</ShortProjectName>
  </PropertyGroup>

  <PropertyGroup Condition ="'$(IntDir)' == '' and '$(ShortProjectName)' != '' and ('$(SolutionDir)' == '$(MSBuildProjectDirectory)\' OR '$(SolutionDir)' == '')">
    <IntDir Condition="'$(Platform)' == 'Win32'">$(ShortProjectName)\$(Configuration)\</IntDir>
    <IntDir Condition="'$(Platform)' != 'Win32'">$(ShortProjectName)\$(Platform)\$(Configuration)\</IntDir>
  </PropertyGroup>

  <PropertyGroup Condition ="'$(IntDir)'==''">
    <IntDir Condition="'$(Platform)' == 'Win32'">$(Configuration)\</IntDir>
    <IntDir Condition="'$(Platform)' != 'Win32'">$(Platform)\$(Configuration)\</IntDir>
  </PropertyGroup>

  <PropertyGroup Condition ="'$(OutDir)'==''">
    <OutDir Condition="'$(Platform)' == 'Win32'">$(SolutionDir)$(Configuration)\</OutDir>
    <OutDir Condition="'$(Platform)' != 'Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
  </PropertyGroup>

  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.WindowsSDK.props" Condition="Exists('$(VCTargetsPath)\Microsoft.Cpp.WindowsSDK.props')"/>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Common.props" />

  <!-- properties  common for all platforms -->
  <PropertyGroup>
    <IncludePath Condition="'$(IncludePath)' == ''">$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
    <ExternalIncludePath Condition="'$(ExternalIncludePath)' == ''">$(VC_IncludePath);$(WindowsSDK_IncludePath);</ExternalIncludePath>
    <LibraryWPath Condition="'$(LibraryWPath)' == ''">$(WindowsSDK_MetadataPath);</LibraryWPath>
    <SourcePath Condition="'$(SourcePath)' == ''">$(VC_SourcePath);</SourcePath>

    <CommonExecutablePath>$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(MSBuild_ExecutablePath);$(FxCopDir);$(PATH);</CommonExecutablePath>
    <CommonExcludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(VC_ExecutablePath_Loc);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(FxCopDir);$(MSBuildToolsPath);$(MSBuildFrameworkToolsPath);$(MSBuild_ExecutablePath);$(SystemRoot)</CommonExcludePath>
    <CheckMSVCComponents Condition="'$(CheckMSVCComponents)' == ''">true</CheckMSVCComponents>
  </PropertyGroup>

</Project>
