How to keep generated temporary files?
<p>How to force it to keep temporaries like <code>CMakeFiles/cmTC_66ca1.dir/link.txt</code> or <code>CMakeFiles/cmTC_66ca1.dir/testCCompiler.c.obj</code>?</p>

<p>There is an error with the</p>

<blockquote>
  <p>The C compiler is not able to compile a simple test program</p>
</blockquote>

<p>but all necessary files to launch commands separately are gone. It's very hard to analyze that.</p>