Is there a way to easy convert standalone applications to extensions?isaac-sim-api

I am trying to create an extension from a standalone file. Is there an easy way to do that?