Documented CMake usage and predefined preprocessor macros.