Setting up CMake to build your plug-ins
Creating a plug-in or a standalone application requires setting up your environment as described in Setting Up Your Build Environment.
Note:
Before creating your own samples, build some of the samples included in the devkit to familiarize yourself with the Maya API and CMake.
CMake requires a CMakeList.txt
file. This file provides information for the CMake Generator to create a project or makefile with which to build the application. This file needs to specify the project name, its source files, and any libraries it needs.
The CMakeList.txt
files in the sample plug-ins and applications can be used as a guide to creating your own CMakeList.txt
file.