diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2022-03-21 23:24:01 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-03-21 23:24:01 +0200 |
commit | fb67adf3e6b57d44dad6c943a6081277860350c5 (patch) | |
tree | f48a88cb58e4f77e8ababd2c3e2045e42622ce09 /docs/markdown/snippets/structured_sources.md | |
parent | 42af1f7092c9cfdcffd2b7ba021dc8e5d392aa8c (diff) | |
download | meson-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.md | 26 |
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 -``` |