title: How to automatically download C++ dependencies in a cross platform way + CMake?
body: <p>Basically I want to achieve this workflow:</p>
  
  <ol>
  <li><p>Checkout from repository on windows system (or any platform for that matter).</p></li>
  <li><p>Run some tool that gets dependencies, both includes and libs and puts them in their proper place (like in "\Program Files\Microsoft Visual Studio 10.0\VC\Lib and \Includes" on windows)</p></li>
  <li><p>Run CMake (creates MSVS projects on win)</p></li>
  <li><p>Open up MSVS project and compile it.</p></li>
  </ol>
  
  <p>And i would like to have this workflow on most platforms.</p>
  
  <p><strong>I dont want to have to download dependencies manually</strong></p>
  
  <p>How to do this without storing dependencies in repository?
  What is the best way to achieve this?</p>