organization of large projects
If you are creating a new project, coding a new software application or want to reorganize existing code, structure the project well. Although there are probably hundreds of ways to structure, and although there are many things to consider, here I would like to give you one possible approach that really worked for me again and again. This example / suggestion is a summary of my research on this topic, so it’s not just an “idea”
There are three "main" issues that need to be addressed when organizing a project:
From medium to large projects, not to mention all projects, there should be a controlled version (GIT as an example).
from medium to large projects, and not for all projects, should be supported by the project generator (Cmake example).
It would be impossible, for a medium and large project, to save all the files in one physical directory. He is even very discouraged (by several manuals, including the Linux kernel). You must organize these files physically logically .
Example file structure of physical projects:
~example/environment$project tree . . |- code |- core |- extern |- docs |- tests |- core_tests |- extern-tests |- ...
This, unfortunately, in code :: blocks, means that you will need to include all the physical folders of the project in the search path.
You can organize your files inside the :: blocks code in any way you want, practically the same, but if your physical structure is logical, your project should be intuitive to view!
code :: blocks does not allow virtual paths.
hope this helps
KR
Hewi