def METHOD_NAME(self):
    content = f"\n\n# {self.cmake_target}\n"
    content += "\n".join([f"#{it}" for it in self.dumps().split('\n')])
    content += "\n"        
    if not self.srcs:
        content += textwrap.dedent(f"""\
            add_library({self.cmake_target} INTERFACE)
        """)
    else:
        content += textwrap.dedent(f"""\
            set({self.cmake_target}_PROTOS {" ".join(["${CMAKE_SOURCE_DIR}/"+it for it in self.srcs])})
            add_library({self.cmake_target} ${{{self.cmake_target}_PROTOS}})
            target_include_directories({self.cmake_target} PUBLIC ${{CMAKE_BINARY_DIR}})
            target_compile_features({self.cmake_target} PUBLIC cxx_std_11)
            protobuf_generate(LANGUAGE cpp 
                            TARGET {self.cmake_target} 
                            PROTOS ${{{self.cmake_target}_PROTOS}}
                            IMPORT_DIRS ${{IMPORT_DIRS}}
                            )
        """)
    if self.deps:
        content += textwrap.dedent(f"""\
            target_link_libraries({self.cmake_target} {"PUBLIC" if self.srcs else "INTERFACE"} {" ".join(self.cmake_deps)})
        """)
    return content