Summary
In this post, I will introduce a generic structure for C++ projects.
Details
A clean structure is the basis of a clean project. I simplify the full version and present a simpler but useful structure here.
1. bin: The output executables.
2. build: This folder contains all object files.
3. docs: Any notes, like Doxygen
4. include: All project header files not under /usr/local/include
.
5. lib: Third party libs.
6. src: The application and only the application’s source files.
7. test: All test code files.