How can I cook a single asset using C++ in UE4

Hi! I want to test cook an asset using C++ but I could not find any useful information about how to do it on the internet. Dose anyone know how to make it?