Add CMake based platform definition.