Added CMake support with managed protocol settings