Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there a C project Default Directory Layout?
    primarykey
    data
    text
    <p>I've always wanted to know if there is a default directory layout for C projects. You know, which folders should i put which files and such.</p> <p>So I've downloaded lots of project's source codes on <a href="http://sourceforge.net/" rel="nofollow noreferrer">SourceForge</a> and they were all different than each other. Generally, I found more or less this structure:</p> <pre><code> /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) </code></pre> <p>Is there a default standard somewhere?</p> <p>Edit: Sorry, really. I realised there are numerous similar questions for recommended C project directory files. But I've seen people say what they think is best. I'm looking for a standard, something that people usually follow.</p> <p>Related Questions:</p> <p><a href="https://stackoverflow.com/questions/2410243/c-starting-a-big-project-file-directory-structure-and-names-good-example-req">C - Starting a big project. File/Directory structure and names. Good example required</a></p> <p><a href="https://stackoverflow.com/questions/1451086/folder-structure-for-a-c-project">Folder structure for a C project</a></p> <p><a href="https://stackoverflow.com/questions/2407668/file-and-folder-structure-of-a-app-project-based-in-c">File and Folder structure of a App/Project based in C</a></p> <p><a href="https://stackoverflow.com/questions/742391/project-organization-in-c-best-practices">Project Organization in C Best Practices</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload