title: What does --target option mean in CMake?
body: <pre><code>C:\blah\duh\bin\Android&gt;"C:\Program Files (x86)\CMake\bin\cmake.exe" --build . --target SysTest --use-stderr -- -j 8    
  </code></pre>
  
  <p>I have this above CMake build command. I get that <code>--build .</code> is going to build from the Makefile in the current directory. But what does the option <code>--target SysTest</code> and <code>-j 8</code> do? Here is the CMake documentation for <code>--build</code> but I admit, I don't understand the use of <code>--target</code>.</p>
  
  <pre><code> --build &lt;dir&gt;
  Build a CMake-generated project binary tree.
  
  This abstracts a native build tool’s command-line interface with the following options:
  
  &lt;dir&gt;          = Project binary directory to be built.
  --target &lt;tgt&gt; = Build &lt;tgt&gt; instead of default targets.
  --config &lt;cfg&gt; = For multi-configuration tools, choose &lt;cfg&gt;.
  --clean-first  = Build target 'clean' first, then build.
                   (To clean only, use --target 'clean'.)
  --use-stderr   = Ignored.  Behavior is default in CMake &gt;= 3.0.
  --             = Pass remaining options to the native tool.
  </code></pre>