Open dvalters opened 6 years ago
Yes we absolutely need a structure like this to move all the cpp files into a subdirectory.
Ok just to make sure I understand correctly, we would then have:
bin
directoryinclude
directorysrc
directorysrc
directory too?Yep, I mean it is fairly flexible really - but something that is 'top down' rather than the 'bottom up' layout currently. Sometimes people mix hpp
and cpp
in the src
folder and do away with include
(maybe simpler). There could be subdirs in the src
folder as well for drivers (see the CHILD src folder structure for example.)
i.e. at the minute the makefiles are burried at the bottom of the directory structure, but we could have something like a typical GNU project like:
etc