You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2017/11/15 20:01:13 UTC

mesos-site git commit: Updated the website built from mesos SHA: e3e6413.

Repository: mesos-site
Updated Branches:
  refs/heads/asf-site 3ceb72d1e -> 573fcab43


Updated the website built from mesos SHA: e3e6413.


Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/573fcab4
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/573fcab4
Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/573fcab4

Branch: refs/heads/asf-site
Commit: 573fcab437254a638956a45595b0cf0ea719ded4
Parents: 3ceb72d
Author: jenkins <bu...@apache.org>
Authored: Wed Nov 15 20:01:09 2017 +0000
Committer: jenkins <bu...@apache.org>
Committed: Wed Nov 15 20:01:09 2017 +0000

----------------------------------------------------------------------
 content/documentation/cmake/index.html        | 24 ++++++++++++++++++++++
 content/documentation/latest/cmake/index.html | 24 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/573fcab4/content/documentation/cmake/index.html
----------------------------------------------------------------------
diff --git a/content/documentation/cmake/index.html b/content/documentation/cmake/index.html
index ebbf97f..51ffe19 100644
--- a/content/documentation/cmake/index.html
+++ b/content/documentation/cmake/index.html
@@ -139,6 +139,30 @@ package in EPEL is only CMake 3.6, you may remove them via:
 
 <p><strong>NOTE:</strong> Windows needs CMake 3.8+, rather than 3.7+.</p>
 
+<h1>Quick Start</h1>
+
+<p>The most basic way to build with CMake, with no configuration, is fairly
+straightforward:</p>
+
+<pre><code>mkdir build
+cd build
+cmake ..
+cmake --build .
+</code></pre>
+
+<p>The last step, <code>cmake --build .</code> can also take a <code>--target</code> command to build any
+particular target (e.g. <code>mesos-tests</code>, or <code>tests</code> to build <code>mesos-tests</code>,
+<code>libprocess-tests</code>, and <code>stout-tests</code>): <code>cmake --build . --target tests</code>. To
+send arbitrary flags to the native build system underneath (e.g. <code>make</code>), append
+the command with <code>-- &lt;flags to be passed&gt;</code>: <code>cmake --build . -- -j4</code>.</p>
+
+<p>Also, <code>cmake --build</code> can be substituted by your build system of choice. For
+instance, the default CMake generator on Linux produces GNU Makefiles, so after
+configuring with <code>cmake ..</code>, you can just run <code>make tests</code> in the <code>build</code> folder
+like usual. Similarly, if you configure with <code>-G Ninja</code> to use the Ninja
+generator, you can then run <code>ninja tests</code> to build the <code>tests</code> target with
+Ninja.</p>
+
 <h1>Supported options</h1>
 
 <p>See <a href="/documentation/latest/./configuration/cmake/">configuration options</a>.</p>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/573fcab4/content/documentation/latest/cmake/index.html
----------------------------------------------------------------------
diff --git a/content/documentation/latest/cmake/index.html b/content/documentation/latest/cmake/index.html
index 96bf35a..bdf4a8e 100644
--- a/content/documentation/latest/cmake/index.html
+++ b/content/documentation/latest/cmake/index.html
@@ -139,6 +139,30 @@ package in EPEL is only CMake 3.6, you may remove them via:
 
 <p><strong>NOTE:</strong> Windows needs CMake 3.8+, rather than 3.7+.</p>
 
+<h1>Quick Start</h1>
+
+<p>The most basic way to build with CMake, with no configuration, is fairly
+straightforward:</p>
+
+<pre><code>mkdir build
+cd build
+cmake ..
+cmake --build .
+</code></pre>
+
+<p>The last step, <code>cmake --build .</code> can also take a <code>--target</code> command to build any
+particular target (e.g. <code>mesos-tests</code>, or <code>tests</code> to build <code>mesos-tests</code>,
+<code>libprocess-tests</code>, and <code>stout-tests</code>): <code>cmake --build . --target tests</code>. To
+send arbitrary flags to the native build system underneath (e.g. <code>make</code>), append
+the command with <code>-- &lt;flags to be passed&gt;</code>: <code>cmake --build . -- -j4</code>.</p>
+
+<p>Also, <code>cmake --build</code> can be substituted by your build system of choice. For
+instance, the default CMake generator on Linux produces GNU Makefiles, so after
+configuring with <code>cmake ..</code>, you can just run <code>make tests</code> in the <code>build</code> folder
+like usual. Similarly, if you configure with <code>-G Ninja</code> to use the Ninja
+generator, you can then run <code>ninja tests</code> to build the <code>tests</code> target with
+Ninja.</p>
+
 <h1>Supported options</h1>
 
 <p>See <a href="/documentation/latest/./configuration/cmake/">configuration options</a>.</p>