I actually need help on how to structure my project (the directory tree).
I plan to code a network library split in multiple parts (one for server, one for client etc)
I am actually coding on Windows but I plan to make it multi-platform in the future.
My current setup is:
- doc // Doxygen generated documentation
- include // Public headers
- lib // Output libraries
- source // Private implementation and headers
Don't include any of the files generated by the
IDE in your project. Let each developer choose their own
IDE. Just package the files relevant to the program/library itself when you distribute the source code and let each developer import it into their own preferred
You will have to choose some cross-platform way of building the progs/libs.
Makefile is pretty universal. Most
IDEs can run a project from its
Makefile. Or you can use one of many cross-platform build systems that generate a
Also you may want to keep your sources under version control such as git.