HOW to make UE4 project uesed by another program

Hey all,

 i'm a beginner on the UE4 programming. nowadays , i build a UE4's project, but my friend want to let another c++ project use my work ,just like using framework or third party libraries.  i have no idea.  i'm begging some can help me.

thanks