I just registered on the forums after finding a thread with a question similar to mine. I decided to create a new thread to not hijack the other thread and because my question is slightly different.
My C++ project files are under version control so I can work from different locations easily. The external libraries I use (currently only SFML and pugixml) are not under version control yet though. I would like to change that, so that the repository contains everything that is needed to build the project. I also would like to keep it more platform and compiler independent than it currently is (it's optimized for Windows + MinGW at the moment).
So, how can I achieve that?
My first idea was to organize my project like that:
project - extlibs - include - SFML // same headers for all platforms and compilers - pugixml // headers + source, no bins, no libs - win32 - vs2012 - SFML - bin - lib - gcc-4.7-tdm-sjlj - SFML - bin - lib - gcc-4.7-mingw-dw2 - SFML - bin - lib - win64 - ... - src
Is this project layout a good approach?
Suggestions very welcome.