title: MS Build: Access compiler settings in a subsequent task
body: <p>I'm writing my own MS build scripts which I import in the project file (*.vcxproj)</p>
  
  <p>I would like to execute a task conditionally depending on the C runtime being used dynamically. I tried the following:</p>
  
  <pre><code>Condition = " '$(RuntimeLibrary)' == 'MultiThreadedDLL' "
  </code></pre>
  
  <p>But $(RunitmeLibrary) is not a Property but an argument to ClCompile. </p>
  
  <p>Is there any other way to write a condition that checks whether the runtime is liked dynamically or statically?</p>
  
  <p>Regards</p>