Compiling GMAT is configured via a set of Python scripts for dependencies, and Cmake files to manage the build process.   See the Compilation Instructions for complete details.