Siempre he querido saber si hay un diseño de directorio predeterminado para proyectos C. Ya sabes, qué carpetas debo poner qué archivos y tal.¿Existe un diseño de directorio predeterminado de proyecto C?
Así que he descargado muchos códigos fuente del proyecto en SourceForge y todos eran diferentes entre sí. En general, he encontrado más o menos la siguiente estructura:
/project (root project folder, has project name)
|
|____/bin (the final executable file)
|
|
|____/doc (project documentation)
| |
| |____/html (documentation on html)
| |
| |____/latex (documentation on latex)
|
|
|____/src (every source file, .c and .c)
| |
| |____/test (unit testing files)
|
|
|____/obj (where the generated .o files will be)
|
|
|____/lib (any library dependences)
|
|
|____BUGS (known bugs)
|
|____ChangeLog (list of changes and such)
|
|____COPYING (project license and warranty info)
|
|____Doxyfile (Doxygen instructions file)
|
|____INSTALL (install instructions)
| |
|____Makefile (make instructions file)
|
|____README (general readme of the project)
|
|____TODO (todo list)
¿Existe un estándar por defecto en alguna parte?
Editar: Lo siento, de verdad. Me di cuenta de que hay numerosas preguntas similares para los archivos recomendados del directorio del proyecto C. Pero he visto a personas decir lo que creen que es mejor. Estoy buscando un estándar, algo que la gente suele seguir.
preguntas relacionadas:
C - Starting a big project. File/Directory structure and names. Good example required
Folder structure for a C project
File and Folder structure of a App/Project based in C
Project Organization in C Best Practices
Sospecho que lo que tienes es lo más parecido a un estándar que vas a encontrar. – NPE
¡Así que supongo que lo documentaré y lo convertiré en el valor predeterminado oficial! Muhahaha>: D – alexdantas