title: How can I get the exact compiler command line from visual studio?
body: <p>I have to port the build of a DLL from building in Visual Studio to another build system.  The DLL solution wasn't made by me and it's got lots of modified command line switches etc.  I've copied the compiler/linker options from Visual Studio's </p>
  
  <p>Project Properties -> Config Properties -> C/C++ -> Command Line
  Project Properties -> Config Properties -> Linker -> Command Line</p>
  
  <p>However, when I build the DLL from my other build tool (and I've also tried a simple batch file) the DLL is a slightly different size and causes a crash sometimes when the DLL is used (which the one built by vis studio doesn't do).</p>
  
  <p>So my question is:</p>
  
  <ol>
  <li><p>Is there a better way to see the exact command line than what's in vis studio properties page?</p></li>
  <li><p>Does Vis Studio do any crazy magic beyond what's happening on the command line (I hope the answer to this is no!) :-)</p></li>
  </ol>