title: How to know the INCLUDE, LIB, PATH outcome of Visual Studio 2010,2013 Toolset
body: <p>Since VS2010, Microsoft Visual Studio introduces the Platform Toolset concept that encapsulate the traditional global INCLUDE, LIB, PATH settings inside various Toolsets. I admit that's an improvement for flexibility, but it should not be a blackbox that makes us foolish.</p>
  
  <p>Now my question is, how do I know what the resulting INCLUDE, LIB, PATH are when I apply a  Toolset to my project. I think it is not realistic to analyze those hundreds of .targets and .props files(in <code>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120</code>)  manually to get the result. Most of the time, we just need the result. Is there any concise way to achieve that?</p>
  
  <p><img src="https://i.stack.imgur.com/dTNZo.png" alt="enter image description here"></p>
  
  <p>==== UPDATE ====</p>
  
  <p>Stijn provides the right answer for me. Now I can see PATH= , LIB= , INCLUDE= ... from the build log. But, a minor question, what is the difference of <code>LIB</code> and <code>LIBPATH</code>?</p>
  
  <pre><code>1&gt;Using "SetEnv" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Build.CppTasks.Common.dll".
  1&gt;Task "SetEnv"
  1&gt;  PATH=C:\VS2013\VC\bin;;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools;C:\VS2013\Common7\Tools\bin;C:\VS2013\Common7\tools;C:\VS2013\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\MSBuild\12.0\bin\;C:\Windows\Microsoft.NET\Framework\v4.0.30319\;C:\Windows\SysWow64;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;;C:\Windows-Kits\8.1\bin\x86;C:\Windows-Kits\8.1\tools\tracing\x86
  1&gt;Done executing task "SetEnv".
  1&gt;Task "SetEnv"
  1&gt;  LIB=C:\VS2013\VC\lib;C:\VS2013\VC\atlmfc\lib;;
  1&gt;Done executing task "SetEnv".
  1&gt;Task "SetEnv"
  1&gt;  LIBPATH=C:\VS2013\VC\atlmfc\lib;C:\VS2013\VC\lib;
  1&gt;Done executing task "SetEnv".
  1&gt;Task "SetEnv"
  1&gt;  INCLUDE=D:\u8vc\USBview\C++\;C:\VS2013\VC\include;C:\VS2013\VC\atlmfc\include;;
  </code></pre>