title: How to import files with directory structure into visual studio 2013
body: <p>I have the source code for a C++ library (its a version of Box2D)<br>
  I'd like to add parts of it to a new project and build it to a .dll</p>
  
  <p>However when I add  the directory of files I want to the new project it adds them all to the root of the project and as a result most if the include statements are wrong..
  for example...</p>
  
  <pre><code>#include &lt;Box2D/Dynamics/b2Body.h&gt;
  #include &lt;Box2D/Dynamics/b2Fixture.h&gt;
  #include &lt;Box2D/Dynamics/b2World.h&gt;
  </code></pre>
  
  <p>The "Box2D/Dynamics/" part is now wrong.<br>
  I add the new files by putting the directory containing the files I want in the new project directory, then clicking the "show all files" button, then clicking on the folder and saying "include in project"</p>
  
  <p>Heres what the original project (from which I'm copying the directories of of files) looks like..<br>
  <img src="https://i.stack.imgur.com/ng2Gu.png" alt="enter image description here"></p>
  
  <p>and heres what my new project looks like. As you can see the whole project is 'flat' all the files are in the project root (though in the actual project directory the sub-directory structure is still present)<br>
  <img src="https://i.stack.imgur.com/aglWM.png" alt="enter image description here"></p>
  
  <p>tbh I've always found this file management aspect of visual studio weird and confounding</p>