Don't know about easy but you have to make separate project-configurations
that have different include and lib paths and then you can compile multiple
configurations with *Build->Batch build . *To make life a little easier
when it comes to specifying different paths you could set a default path
for all projects for include-path to be:

$(MAYA_SDK)\$(MAYA_VERSION)\include

And then use property sheets to set MAYA_SDK and MAYA_VERSION. MAYA_SDK
could be set in one property sheet that is included for all configurations
and MAYA_VERSION would need to be in a separate property sheet for each
configuration per configuration where it is set to 2014 or 2013
respectively. Then when you need to compile for a new version of maya you
just clone the configuration and include another property sheet that sets
MAYA_VERSION to 2015.

That's one way of doing it at least, hopefully someone else has a better
solution to share.

Btw, I enjoyed your Mechanical Rigging class :)




On Mon, Feb 10, 2014 at 2:22 AM, Todd Widup <[email protected]> wrote:

> is there an easy way to configure VS to compile a maya plugin for both
> 2013 and 2014?  as in, is there a way to specify in the project setup
> something to handle this?
> --
> Todd Widup
> Creature TD / Technical Artist
> [email protected]
> [email protected]
> www.toddwidup.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CABBPk36%2BkAnHGbCVdAWmawxf4HpQpj2zREmcCOgFDF4ZENMcbQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAGkBUFcRaZKxHftBe17GV0WY--p5xG3Zb5cOAJmBwhcJfMdB_A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to