Why do you need different folders for folders for binaries? Are you going to create this source code in different formats, but with the same file system?
If so, I think you also need special folders for the compiler.
Why don't you use different folders to build debugging and release, perhaps unicode and non-unicode, single-threaded or multi-threaded assemblies?
Look at bjam or Scons, replace them. You may not need different folders in the assembly directory.
I think it would be better if all the modules from the "modules" directory contain the "test" directory to check for self.
And the last one - see boost library, this platform independent platform that has a nice structure.
Also try to get ideas from third-party projects related to the platform.
Creating a folder structure:
boost - root dir - boost - library header lib ( for users ) - libs - library source dir ( one dir per lib ) - build - library build files ( if they are needed ) - doc - documentation files - example - sample programs - src - library source files - test - programs and srcipts for testing module - bin - created by bjam build system - libs - <lib-name> for all compiled folders from libs [example|test|build] - <compiler-name>/<[static|dynamic]-link>/<[debug|release]>/<[threading mode]> contain builded [obj|dll|lib|pdb|so|o|etc] files see detailed information in bjam build system - doc - tools
If you choose bjam, you will not worry about the structure of the assembly and the bin basket.
In addition, your libs / src / dir may contain its own for all platform files and a pair of dir for platform files.
I do not see serious problems in your structre folders, maybe you will see them when you run the prototype project.
bayda Apr 05 '09 at 1:00 2009-04-05 01:00
source share