Ok, so essentially, you want to ship your engine as a full fledged program, let your users enter c++ code in the editor contained in your engine, let them dabble with some sprites and such, then let them press a button so that
your program compiles
their program and output an exe that they can send to their friends? —
Alexandre Vaillancourt ♦ 56 mins ago