aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/structured_sources.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-03-21 23:24:01 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2022-03-21 23:24:01 +0200
commitfb67adf3e6b57d44dad6c943a6081277860350c5 (patch)
treef48a88cb58e4f77e8ababd2c3e2045e42622ce09 /docs/markdown/snippets/structured_sources.md
parent42af1f7092c9cfdcffd2b7ba021dc8e5d392aa8c (diff)
downloadmeson-fb67adf3e6b57d44dad6c943a6081277860350c5.zip
meson-fb67adf3e6b57d44dad6c943a6081277860350c5.tar.gz
meson-fb67adf3e6b57d44dad6c943a6081277860350c5.tar.bz2
Prepare the 0.62.0 release.0.62.0
Diffstat (limited to 'docs/markdown/snippets/structured_sources.md')
-rw-r--r--docs/markdown/snippets/structured_sources.md26
1 files changed, 0 insertions, 26 deletions
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
-```