title: Creating a Visual Studio property sheet to ease the use of a C++ library
body: <p>I am building a C++ library (set of headers, import libs and DLLs).  I want to make using this library as easy as possible for any developer who wants to use it.  Especially I don't want the consumers of this library to have to worry about changing the header paths, libraries paths and link libraries manually for all the different configurations of their project (Debug|Release and x86/x64/ARM).  I know that I can do this using property sheets.  I created 6 different property sheets for this purpose (one for each configuration).  Each sheet looks like the below (listing just the x86|Debug version, assume that the macros INCLUDEPATH and LIBPATH are correctly defined):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;PropertyGroup&gt;
      &lt;_PropertySheetDisplayName&gt;MyCPPLib, 1.0&lt;/_PropertySheetDisplayName&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemDefinitionGroup&gt;
      &lt;ClCompile&gt;
        &lt;AdditionalIncludeDirectories&gt;$INCLUDEPATH;%(AdditionalIncludeDirectories)&lt;/AdditionalIncludeDirectories&gt;
      &lt;/ClCompile&gt;
      &lt;Link&gt;
        &lt;AdditionalLibraryDirectories&gt;$(AdditionalLibraryDirectories);$LIBPATH\x86\Debug&lt;/AdditionalLibraryDirectories&gt;
        &lt;AdditionalDependencies&gt;MyCPPLib.lib;$(AdditionalDependencies)&lt;/AdditionalDependencies&gt;
      &lt;/Link&gt;
    &lt;/ItemDefinitionGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p>I want to know if it possible to create just a single props file that can take care of all 6 configurations based on whatever is the user's active configuration?
  How would that file look like?</p>