title: Automatically copy executable to directory after build in CLion? (using CMake)
body: <p>How can I make CLion automatically copy my compiled executable to a specified directory after each build?</p>
  
  <p>Since CLion uses CMake, I guess this should be possible with some CMake command in the CMakeLists.txt file. But I don't know how to do it.</p>