Answer the question
In order to leave comments, you need to log in
How to compile two executables from one QtCreator project?
I am writing a game using sfml, MinGW, QtCreator, but without qt.
Part of the code loads the world, objects, etc., then either the game process starts or the map editor interface loads.
Is it possible to compile two executable files from one qtCreator project to run the game and the map editor?
Or no one does this, but it’s more correct to create two projects and copy and store part of the same code in two projects, but then you need to manually copy the executable files to one directory, because. shared resources (dll, pictures, sounds, etc.)?
If so, where can I find examples? I don't even know how to google it.
Answer the question
In order to leave comments, you need to log in
It's called "Application Architecture".
One example is that parts of an application are moved to different repositories, then they are included in the general one using git subtree. Then you don't need to synchronize these parts manually - git does everything.
Next, the qt project has submodules, and so your exe - these are two submodules in a large project.
Dare!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question