diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-12 18:54:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 18:54:46 +0300 |
commit | 1e14438a380c4c9591f94001d5389caf4c323004 (patch) | |
tree | 107d5519176443fb7a9edea86a89d2c87f1876ea /docs/markdown | |
parent | 67b195f919a6b0066db987edb672431604fca4fd (diff) | |
parent | 410937c08e4eb964d385c467e0044574e1cfe67a (diff) | |
download | meson-1e14438a380c4c9591f94001d5389caf4c323004.zip meson-1e14438a380c4c9591f94001d5389caf4c323004.tar.gz meson-1e14438a380c4c9591f94001d5389caf4c323004.tar.bz2 |
Merge pull request #1735 from dcbaker/list-of-files
Allow passing a list of Files to CustomTarget. Closes #1720
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index b20c14a..6f34e5e 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -137,7 +137,7 @@ These are all the supported keyword arguments: Create a custom top level build target. The only positional argument is the name of this target and the keyword arguments are the following. -- `input` list of source files +- `input` list of source files. As of 0.41.0 the list will be flattened. - `output` list of output files - `command` command to run to create outputs from inputs. The command may be strings or the return of `find_program()` or `executable()` (note: always specify commands in array form `['commandname', '-arg1', '-arg2']` rather than as a string `'commandname -arg1 -arg2'` as the latter will *not* work) - `install` when true, this target is installed during the install step @@ -228,8 +228,8 @@ With the Ninja backend, Meson will create a build-time [order-only dependency](h Executable supports the following keyword arguments. Note that just like the positional arguments above, these keyword arguments can also be passed to [shared and static libraries](#library). -- `link_with`, one or more shared or static libraries (built by this project) that this target should be linked with -- `link_whole` links all contents of the given static libraries whether they are used by not, equivalent to the `-Wl,--whole-archive` argument flag of GCC, available since 0.40.0 +- `link_with`, one or more shared or static libraries (built by this project) that this target should be linked with, If passed a list this list will be flattened as of 0.41.0. +- `link_whole` links all contents of the given static libraries whether they are used by not, equivalent to the `-Wl,--whole-archive` argument flag of GCC, available since 0.40.0. As of 0.41.0 if passed a list that list will be flattened. - `<languagename>_pch` precompiled header file to use for the given language - `<languagename>_args` compiler flags to use for the given language; eg: `cpp_args` for C++ - `link_args` flags to use during linking. You can use UNIX-style flags here for all platforms. |