The C source files can now be formatted with pgindent using a new CMake build target. The location of pgindent and dependencies are auto-discovered by CMake or can be overridden on the command line.