Hi fellow developers!
So I've been trying to setup my own game engine but have a small problem.
These are my repos:
Game
Renderer
Physics
Utility (templates, helper macros, math, prints and so on)
Problem is, Utility repo is still quite new. It's frequently changed with new templates, new helpers and so on.
I currently have this kind of connection:
Game
Submodules:
Renderer
Physics
Utility
So if I change Utility by adding new template which either Physics or Renderer uses, let's say MyVector<Type>,
then I'll need to update the Game repo. It becomes a 2 step update which I think becomes a little bit unecessary.
I tried doing maybe something like this:
Game
-Renderer
--Utility
-Physics
--Utility
-Utility
Problem is then that visual studios doesn't approve of having multiple projects of same name.
But it would at least solve the problem of the commit dependency (if that even is the correct term).
Please do ask for more information if I wasn't clear enough.
EDIT:
Realized that I didn't write about the build dependencies in my solution (it was obvious to me but maybe not to you).
It looks like this in the build order in my solution from first to last:
Utility
Physics
Renderer
Game