title: CMake save stripped debug information
body: <p>It's a usual practice to compile with debug symbols and then separate the binary using <code>objcopy</code> into the release executable and the file with debug information (then wrap that into separate packages or store on the symbol server).</p>
  
  <p>How to separate debug symbols properly in CMake? I've seen just some discussions and incomplete code samples.</p>
  
  <p>Platform is Linux and GCC.</p>