summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-07-19 14:34:39 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-07-19 14:34:39 +0900
commitb2be85085f4ab0f88a49ca1996d090f9446c03f1 (patch)
tree8a362a848f557572e4b8145b8a032ba0675cf723
parent536b7d4c1605e0d2aa6ab46c3c793143c9560981 (diff)
Add meson example
-rw-r--r--meson/cproj/main.c9
-rw-r--r--meson/cproj/meson.build2
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/cproj/main.c b/meson/cproj/main.c
new file mode 100644
index 0000000..b7f0aeb
--- /dev/null
+++ b/meson/cproj/main.c
@@ -0,0 +1,9 @@
1#include <stdio.h>
2
3int main()
4{
5 printf("Hello World\n");
6 printf("Hello two times\n");
7
8 return 0;
9}
diff --git a/meson/cproj/meson.build b/meson/cproj/meson.build
new file mode 100644
index 0000000..e6f219c
--- /dev/null
+++ b/meson/cproj/meson.build
@@ -0,0 +1,2 @@
1project('tutorial', 'c')
2executable('demo', 'main.c')