How do I copy files on build of one project to the include/library directories of a second project?
<p>I have a MSVC2013 Solution with 2 projects, one for a <code>DLL</code>Library and one for an executable to test the library.
My folder structure is:</p>

<pre><code>SolutionDir
|-- DLL
|   `-- src
|-- Executable
|   `-- src
|-- .libs
|   |-- DLL
|   |   |-- include
|   |   |-- bin
|   |   `-- lib
|   `-- (others)
`-- .build
    |-- Executable
    |   |-- Debug
    |   `-- Release
    `-- DLL
        |-- Debug
        `-- Release
</code></pre>

<p>I would like to have it that I just have to hit <code>build solution</code> and the library files from my <code>DLL</code> are automatically copied to <code>SolutionDir/.libs/DLL/*</code> (* = <code>include</code> &amp;&amp; <code>lib</code> &amp;&amp; <code>bin</code>). And the <code>(DLL).dll</code> file should also be copied to the <code>SolutionDir/.build/Executable/(Configuration)</code>.  </p>

<p>I imagine I could create a <code>batch</code>file to copy the files, but how do I run it each time the <code>DLL</code> is built?<br>
Or is there some built-in functionality of MSVC that can achieve that?</p>