title: How to make the cmake-generated makefile stop at the first error
body: <p>I use <code>cmake</code> to manage the build process of my project. Everytime when I want to rebuild it, what I need to do is simply <code>cmake .. &amp; make -j8</code>, It works very well.</p>
  <p>But I noticed that, the <code>make</code> command usually would like to output lots of errors then stopped finnaly.</p>
  <p>It is a little annoying: Because for most of cases the first <code>error</code> is important and are essentialy the origin of your other <code>errors</code>.</p>
  <p>How can I make cmake-generated <strong>makefile stop at the first error</strong> instead of continuing doing other stuffs?</p>
  <p>Any suggestion is appreciated.</p>
  <hr />
  <p>Update 1:
  Under @Kitsu 's help can I realize the main duty is in <code>make -j8</code>. If I use <code>make -j1</code> instead, the <code>make</code> will stop at the first error.</p>
  <p>But if we compile a big project, <code>-j8</code> usually makes sense... Is here any other way that can tell the fullset of <code>make</code> threads realize that, here is an error and stop themselves all at once?:)</p>