[Scons-dev] Support for project dependencies in MSVS builder

Tomer Shalev shalev.tomer at gmail.com
Mon Jul 14 23:20:22 EDT 2014


Hello,

Current MSVS builder does not support project dependencies.
I implemented such support, but I would like to raise it for discussion
here before submitting patch request.

My solution is to support specifying dict object in project list, with
'name' and 'depends' fields:

projects = [
    "Foo.vcproj",
    "Bar.vcproj",
    {
        'name':     "FooBar.vcproj",
        'depends':  [ 'Foo.vcproj', 'Bar.vcproj' ],
    },
    ]

msvs_solution = env.MSVSSolution(
        target = "TestDeps.sln",
        projects = projects,
        )


Please review attached patch.

Thanks,
Tomer

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140715/2fb793f5/attachment.html>


More information about the Scons-dev mailing list