Add custom mode enum to AutoQuad definitions.
Add AutoQuad to CMakeLists.txt
Regenerate headers.