mayaProj
ContentsUser's GuidemayaProj is an add-in for Visual C++ 6.0 which modifies a project's settings to build plugins and standalone applications for Alias|Wavefront's Maya NT graphical modeling and animation package. Instead of crawling through all of those Project->Settings changes, you can just create an empty project then use mayaProj to adjust all of the settings with a click of the mouse. To use mayaProj on a new project, create the project by selecting File->New from Visual C++'s menu bar. If the project is a plugin for Maya, then select Win32 Dynamic-Link Library from the Projects tab. If the project is to be a standalone OpenMaya application, then select Win32 Console Application from the Projects tab. Fill in the name of the project and respond to all subsequent dialogs as suits your needs. Now click on the mayaProj tool button. This will bring up the following dialog box:
The Project To Modify section shows all of the projects in the current workspace. Select the one which you wish to set up for use with Maya, or check the All Projects In Current Workspace box if you want to set up all of the projects in the list for use with Maya. The Maya section lets you select which version of Maya your plugin/standalone is being built for. For Maya 1.0.1 just use the 1.0 setting. If the Maya version that you select is installed, then mayaProj will display the path to the folder where it is installed. If the selected Maya version is not installed, then the Installation Folder field will be empty and you will have to enter a path by hand.
The Libraries section shows which Maya libraries your plugin or standalone will be linked to. For most plugins, mayaProj's default settings will suffice, but if you plan on doing image processing, motion capture, or translators, or if you are writing an OpenMaya standalone application, then you will have to select the applicable additional libraries. If you selected Maya version 1.0, then all of the 2.0-specific libraries will be disabled, as shown in Figure 4. Don't be concerned if some of the disabled libraries are checked as mayaProj is smart enough to ignore those.
Once you have made all of your selections in the dialog, click on the OK button and mayaProj will set up the selected project(s) for use with Maya. You must then close the current workspace and re-open it. This is necessary because of a bug in Visual C++ 6.0 which causes it to not pick up setting changes made by add-ins right away. By closing and re-opening the workspace you force Visual C++ to recognize the changes made by mayaProj. Hopefully Microsoft will correct this in a future release of Visual C++. mayaProj may also be used on existing projects and is particularly handy when switching between builds for different versions of Maya. Downloads
|