C
Christopher
I tryed to make my hobby project look a little more like the projects
at work. In theory I could find the answer by examining the stuff at
work, but they use alot of custom build scripts and 3rd party
software, which I won't have at home. My goal was to create a single
library to be distributed to developers for use. So, I created a
directory "Redist", which in turn contains a "Lib" and "Include"
directory. My problem is that my entire solution consists of many
libraries, for example "Core", "Audio", "GFX", "Common", etc. For
anyone to use my lib they need the includes of course. But how do you
create one lib and include out of many? Especially when they are in
some complicated directory hierarchy during development?
Lets say Core is dependant on: Commo.lib, Audio.lib, and GFX.lib. The
output of Core is MyEngine.lib and MyEngine.h, which includes all the
Core includes...
MyEngine.h would also somehow have to contain a copy of the contents
for all the headers of its dependencies, no? Do I need some fancy
third party software to parse all my headers and generate a master or
something? Is there an easier solution?
These are all static libs btw. I wanted to do Audio and the others as
a static lib so I can re-use them in other projects.
at work. In theory I could find the answer by examining the stuff at
work, but they use alot of custom build scripts and 3rd party
software, which I won't have at home. My goal was to create a single
library to be distributed to developers for use. So, I created a
directory "Redist", which in turn contains a "Lib" and "Include"
directory. My problem is that my entire solution consists of many
libraries, for example "Core", "Audio", "GFX", "Common", etc. For
anyone to use my lib they need the includes of course. But how do you
create one lib and include out of many? Especially when they are in
some complicated directory hierarchy during development?
Lets say Core is dependant on: Commo.lib, Audio.lib, and GFX.lib. The
output of Core is MyEngine.lib and MyEngine.h, which includes all the
Core includes...
MyEngine.h would also somehow have to contain a copy of the contents
for all the headers of its dependencies, no? Do I need some fancy
third party software to parse all my headers and generate a master or
something? Is there an easier solution?
These are all static libs btw. I wanted to do Audio and the others as
a static lib so I can re-use them in other projects.