Factor out enum MessageType into dedicated header
Reduce the number of files relying on cmake.h
. It then replaces the cmake.h
include whenever possible.
With this change, the number of files that explicitly rely on cmake.h
drops from 148 to 90.