From eb6049a50649d9c8d93c1cc8992f19a8691bb808 Mon Sep 17 00:00:00 2001 From: Penguin Date: Thu, 21 Sep 2023 19:50:53 -0500 Subject: [PATCH] trying meson --- .gitmodules | 3 +++ lvgl.wrap | 4 ++++ meson.build | 6 ++++++ subprojects/lvgl | 1 + 4 files changed, 14 insertions(+) create mode 100644 .gitmodules create mode 100644 lvgl.wrap create mode 160000 subprojects/lvgl diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2a30ea5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "subprojects/lvgl"] + path = subprojects/lvgl + url = https://github.com/lvgl/lvgl.git diff --git a/lvgl.wrap b/lvgl.wrap new file mode 100644 index 0000000..de55bb5 --- /dev/null +++ b/lvgl.wrap @@ -0,0 +1,4 @@ +[wrap-git] +url = https://github.com/lvgl/lvgl.git +revision = master +depth = 1 diff --git a/meson.build b/meson.build index 8a44a82..db54c49 100644 --- a/meson.build +++ b/meson.build @@ -1,2 +1,8 @@ project('rackman', 'c') executable('rackman', 'main.c') + + +cmake = import('cmake') +opt_var = cmake.subproject_options() + +lvgl = cmake.subproject('lvgl') diff --git a/subprojects/lvgl b/subprojects/lvgl new file mode 160000 index 0000000..6fdd585 --- /dev/null +++ b/subprojects/lvgl @@ -0,0 +1 @@ +Subproject commit 6fdd5855499e169f1b57378d93786b55069b468b