aboutsummaryrefslogtreecommitdiff
path: root/cmake.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-16 00:52:55 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-16 00:52:55 +0200
commitb106f0d597775d730421104c5e454146afc573bc (patch)
tree0c0d9c16ebd2db174ea9aef7532ef4d386297faa /cmake.wiki
parenttor 13 okt 2022 16:19:31 CEST (diff)
downloadwiki-public-b106f0d597775d730421104c5e454146afc573bc.tar.gz
wiki-public-b106f0d597775d730421104c5e454146afc573bc.tar.xz
sön 16 okt 2022 00:52:55 CEST
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 .
+}}}