A
Andreas Wenzke
So I've ditched the idea of implementing my own XML parser in the end.
Now I'm going to use TinyXML instead (unless you have a better suggestion):
http://www.grinninglizard.com/tinyxml/index.html
Now what would be the best way to integrate that into my project?
I could of course include the header and link against the library, but
how would I make sure my project would compile both under Linux and Windows?
The lecturer wants me to include a Makefile, whilst I want to use Visual
Studio for development.
I don't want to learn Autoconf for this - should I just include to
different Makefiles with a variable "TINYXML_LIB" pointing to different
library files (.lib and .a or whatever is the Linux file extension)?
Or should I somehow include the source in my project?
After all, a TinyXML comes with its own Makefile - but then again, how
would I include that in Visual Studio?
And what about the filesystem structure - I currently have something
like this:
My project
|
+---src
|
+---include
|
+---doc
|
+---data
|
+---bin
Should I add a new directory "lib"?
And if so, what would I put there, only the library or the header file
as well?
Thanks.
Now I'm going to use TinyXML instead (unless you have a better suggestion):
http://www.grinninglizard.com/tinyxml/index.html
Now what would be the best way to integrate that into my project?
I could of course include the header and link against the library, but
how would I make sure my project would compile both under Linux and Windows?
The lecturer wants me to include a Makefile, whilst I want to use Visual
Studio for development.
I don't want to learn Autoconf for this - should I just include to
different Makefiles with a variable "TINYXML_LIB" pointing to different
library files (.lib and .a or whatever is the Linux file extension)?
Or should I somehow include the source in my project?
After all, a TinyXML comes with its own Makefile - but then again, how
would I include that in Visual Studio?
And what about the filesystem structure - I currently have something
like this:
My project
|
+---src
|
+---include
|
+---doc
|
+---data
|
+---bin
Should I add a new directory "lib"?
And if so, what would I put there, only the library or the header file
as well?
Thanks.