diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-01-07 11:28:00 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-01-09 11:02:17 -0800 |
commit | cd895be99a7917e8c052ec7bb6088704c87783ae (patch) | |
tree | 37710d4c905fa0d22c27b37d92d36908554109e5 /mesonbuild/build.py | |
parent | ff822990d1af6ff6c6f7ae3f2efa9012d4b14bf9 (diff) | |
download | meson-cd895be99a7917e8c052ec7bb6088704c87783ae.zip meson-cd895be99a7917e8c052ec7bb6088704c87783ae.tar.gz meson-cd895be99a7917e8c052ec7bb6088704c87783ae.tar.bz2 |
dependencies: Add ability to set arbitrary variables on
declare_dependencies
This allows dependencies declared in subprojects to set variables, and
for those variables to be accessed via the get_variable method, just
like those from pkg-config and cmake. This makes it easier to use
projects from subprojects in a polymorphic manner, lowering the
distinction between a subproject and an external dependency every
further.
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 72b4276..12274a6 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1053,7 +1053,7 @@ This will become a hard error in a future Meson release.''') [], dep.get_compile_args(), dep.get_link_args(), - [], [], [], []) + [], [], [], [], {}) self.external_deps.append(extpart) # Deps of deps. self.add_deps(dep.ext_deps) |