diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-21 16:33:08 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-21 16:33:08 (GMT) |
commit | f67ce4d87c9531675c2e26715e005234fda4386c (patch) | |
tree | e515d2e89bfef1796a43e316e763300a2456ab6a | |
parent | 6cc5e168a1b3fa29b807541488596cd3457d5e58 (diff) | |
download | SCons-f67ce4d87c9531675c2e26715e005234fda4386c.zip SCons-f67ce4d87c9531675c2e26715e005234fda4386c.tar.gz SCons-f67ce4d87c9531675c2e26715e005234fda4386c.tar.bz2 |
Part 2 of fix for bug # 2979. Fix target to be the .dll target node output from env.SharedLibrary()
-rw-r--r-- | src/engine/SCons/Tool/msvs.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/msvs.xml b/src/engine/SCons/Tool/msvs.xml index b367e84..c4701e1 100644 --- a/src/engine/SCons/Tool/msvs.xml +++ b/src/engine/SCons/Tool/msvs.xml @@ -137,14 +137,14 @@ barmisc = ['bar_readme.txt'] dll = env.SharedLibrary(target = 'bar.dll', source = barsrcs) - +buildtarget = [s for s in dll if str(s).endswith('dll')] env.MSVSProject(target = 'Bar' + env['MSVSPROJECTSUFFIX'], srcs = barsrcs, incs = barincs, localincs = barlocalincs, resources = barresources, misc = barmisc, - buildtarget = dll, + buildtarget = buildtarget, variant = 'Release') </example_commands> <para>Starting with version 2.4 of |