title: CMake how to install test files with unit tests
body: <p>I am using CMake to build my system and my unit tests.</p>
  
  <p>I am also doing an out-of-source build. </p>
  
  <p>I've found with the ADD_TEST() command, that you don't need to install the test executable (it will just be run when you run make install, which is great).</p>
  
  <p>However, my unit tests depend on some input files, which need to be copied to where the executable is built.  </p>
  
  <p>As far as I am aware, I can't use INSTALL() to copy the files there, because I haven't specified where <em>there</em> is - it depends on where the build command is called.</p>
  
  <p>Is there some way I can tell CMake to copy my test files to the same location that it builds the executable?</p>