aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-01-01 02:12:13 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-01-01 02:12:13 +0200
commitd4985d981fea5ec026745efb41be88f25d41bb32 (patch)
treeff7c86a54be37250f3452a5a586d5e7aaf7e67ef /docs/markdown/snippets
parentf2b33b8dcba7e8d948982cfb682e003d57e0f696 (diff)
parent4a189cf8c53e22b747521cae93c18cac3a45cc5a (diff)
downloadmeson-d4985d981fea5ec026745efb41be88f25d41bb32.zip
meson-d4985d981fea5ec026745efb41be88f25d41bb32.tar.gz
meson-d4985d981fea5ec026745efb41be88f25d41bb32.tar.bz2
Merged init branch.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/templates.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/templates.md b/docs/markdown/snippets/templates.md
new file mode 100644
index 0000000..6f0474d
--- /dev/null
+++ b/docs/markdown/snippets/templates.md
@@ -0,0 +1,8 @@
+## Project templates
+
+Meson ships with predefined project templates. To start a new project from
+scratch, simply go to an empty directory and type:
+
+```meson
+meson init --name=myproject --type=executable --language=c
+```