From 04b26d18765611b256c7d15568d7605412ffcd11 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 3 Apr 2025 18:13:16 +0200 Subject: WIP: web: Add meson build system TODO: Make sure ninja re-calls hugo if hugo.toml or one of the HTML files are touched. CMake has some disadvantages when building subprojects like with `ExternalProject`. Furthermore the language is sometimes hard to read, hard to write and not so much appreciated. This is a little test if meson might perform better. If successful this project might switch to meson for all parts except the Zephyr builds. --- web/layouts/meson.build | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 web/layouts/meson.build (limited to 'web/layouts') diff --git a/web/layouts/meson.build b/web/layouts/meson.build new file mode 100644 index 0000000..e582474 --- /dev/null +++ b/web/layouts/meson.build @@ -0,0 +1,12 @@ +sources = [ + 'baseof.html', + 'home.html', +] + +foreach source : sources + configure_file( + input: source, + output: source, + copy: true, + ) +endforeach -- cgit v1.2.3-70-g09d2