From fb67adf3e6b57d44dad6c943a6081277860350c5 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 21 Mar 2022 23:24:01 +0200 Subject: Prepare the 0.62.0 release. --- docs/markdown/snippets/structured_sources.md | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 docs/markdown/snippets/structured_sources.md (limited to 'docs/markdown/snippets/structured_sources.md') diff --git a/docs/markdown/snippets/structured_sources.md b/docs/markdown/snippets/structured_sources.md deleted file mode 100644 index 19fdc86..0000000 --- a/docs/markdown/snippets/structured_sources.md +++ /dev/null @@ -1,26 +0,0 @@ -## structured_sources() - -A new function, `structured_sources()` has been added. This function allows -languages like Rust which depend on the filesystem layout at compile time to mix -generated and static sources. - -```meson -executable( - 'main', - structured_sources( - 'main.rs, - {'mod' : generated_mod_rs}, - ) -) -``` - -Meson will then at build time copy the files into the build directory (if -necessary), so that the desired file structure is laid out, and compile that. In -this case: - -``` -root/ - main.rs - mod/ - mod.rs -``` -- cgit v1.1