I want to be able to compile code from another application that I created.
Long story:
I am working on creating a 2D engine from scratch using the SDL (no comments on which is better to use). I understand how to use the SDL libraries and create simple games. Nevertheless, I want to strive for larger projects, but I need to create an application that will help me organize the code and the overall system. In principle, this program should be an editor (like Unity or UDK, but not as advanced, of course). Programming a real application using a code editor, etc. Not difficult, but my question is how can I take this code and compile it, run it and / or export it as an exe? (Taking code and scripts and putting them into the architecture for compilation is not a problem, it is knowing how to compile its idea).
This is a new idea for me, and googling did not give me the results that I wanted, so I decided to come to StackOverflow because I had a lot of questions that were asked here before, without having to ask (you guys are great by the way).
TL DR Version:
Compile the code from another native application.
(My idea is to use C # for the interface or gui, and then C / C ++ for the real engine)
source share