aboutsummaryrefslogtreecommitdiff
path: root/cmake.wiki
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.wiki')
-rw-r--r--cmake.wiki24
1 files changed, 24 insertions, 0 deletions
diff --git a/cmake.wiki b/cmake.wiki
new file mode 100644
index 0000000..33cfd41
--- /dev/null
+++ b/cmake.wiki
@@ -0,0 +1,24 @@
+
+== Sample usage ==
+{{{sh
+mkdir build
+cd build
+cmake [options] ..
+cmake --build .
+}}}
+
+== options: ==
+{{{
+-DSANITIZE=ON
+}}}
+
+== Installation ==
+{{{
+env DESTDIR=/tmp/githooks cmake --install . --prefix /usr/local
+}}}
+
+
+== Interactive usage ==
+{{{sh
+ccmake .
+}}}