﻿<!--
***********************************************************************************************
Microsoft.Cpp.targets

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.

This file defines the properties required to build Visual C++ projects.

Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="OutDir">

  <PropertyGroup Condition="'$(DesignTimeBuild)' == 'true'">
    <!-- Disable codeanalisis targets for designtime -->
    <CodeAnalysisTargets Condition="'$(CodeAnalysisTargets)'==''">CodeAnalysisTargets_disabled</CodeAnalysisTargets>
  </PropertyGroup>

  <Import Condition="'$(_Redirect)' != 'true'" Project="$(VCTargetsPath)\Microsoft.Cpp.Current.targets" />
  
  <!-- If (_Redirect) flag is set, redirect to older versions of VS -->
  <Import Condition="'$(_Redirect)' == 'true' and '$(MinSupportedVCTargetsVersion)' != 'v150'" Project="Microsoft.Cpp.Redirect.targets" />
  
  <!-- If no platforms file was found then use the InvalidPlatform.Targets -->
  <Import Condition="'$(PlatformTargetsFound)' != 'true'" Project="$(VCTargetsPath)\Microsoft.Cpp.InvalidPlatform.Targets"/>
  <!-- *******************************************************************************************
        DesignTime targets, used by IDE only (not real build). 
        They are VS version specific, not toolset specific.
       ******************************************************************************************* -->
  <Import Condition="'$(_ImportMicrosoftCppDesignTime)' != 'false'" Project="$(VCTargetsPathActual)\Microsoft.Cpp.DesignTime.targets" />

</Project>