diff options
author | Nicolas Schneider <nioncode+git@gmail.com> | 2019-02-13 00:36:36 +0100 |
---|---|---|
committer | Nicolas Schneider <nioncode+git@gmail.com> | 2019-02-13 20:49:54 +0100 |
commit | 9c55e50bea0bcc1e5280e12c2413323a9a205be6 (patch) | |
tree | 82934cfc8c9b6ef4b5553da51885f8895644ecf4 /mesonbuild/backend/vs2010backend.py | |
parent | 06268665cd594cf2ac46433a317352029432706e (diff) | |
download | meson-9c55e50bea0bcc1e5280e12c2413323a9a205be6.zip meson-9c55e50bea0bcc1e5280e12c2413323a9a205be6.tar.gz meson-9c55e50bea0bcc1e5280e12c2413323a9a205be6.tar.bz2 |
vs: do not automatically link dependencies
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r-- | mesonbuild/backend/vs2010backend.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py index fc37fec..d07caf3 100644 --- a/mesonbuild/backend/vs2010backend.py +++ b/mesonbuild/backend/vs2010backend.py @@ -440,6 +440,10 @@ class Vs2010Backend(backends.Backend): ig = ET.SubElement(root, 'ItemGroup') pref = ET.SubElement(ig, 'ProjectReference', Include=include) ET.SubElement(pref, 'Project').text = '{%s}' % projid + # Do not link in generated .lib files from dependencies automatically. + # We only use the dependencies for ordering and link in the generated + # objects and .lib files manually. + ET.SubElement(pref, 'LinkLibraryDependencies').text = 'false' def add_target_deps(self, root, target): target_dict = {target.get_id(): target} |