add CMakeLists for type-generator