title: Getting msbuild to use MT_StaticRelease
body: <p>How do you get msbuild to use MT_StaticRelease?</p>
  
  <p>The package I'm trying to build is LLVM 3.5.1 using Visual Studio 12 64-bit on Windows 7, and the closest I've come to what seems like it should be the right command line is</p>
  
  <pre><code>msbuild /p:Configuration=Release /p:RuntimeLibrary=MT_StaticRelease ALL_BUILD.vcxproj
  </code></pre>
  
  <p>but attempting to compile a test program against the LLVM libraries gets error messages like</p>
  
  <pre><code>LLVMSupport.lib(CommandLine.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in main-0b0089.obj
  </code></pre>
  
  <p>which suggests msbuild is still using <code>/MD</code> instead of <code>/MT</code> and eyeballing the build process seems to confirm that. Is there some command line option I'm missing?</p>