ale*_*tas 26 c standards styles project
我一直想知道C项目是否有默认的目录布局.你知道,我应该把哪些文件夹放在哪些文件中.
所以我在SourceForge上下载了很多项目的源代码,它们彼此不同.一般来说,我发现这个结构或多或少:
/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)
Run Code Online (Sandbox Code Playgroud)
某处有默认标准吗?
编辑:对不起,真的.我意识到推荐的C项目目录文件有很多类似的问题.但我看到人们说他们认为最好的.我正在寻找一种人们通常遵循的标准.
相关问题:
unw*_*ind 13
我会说"不",你的经验证据似乎支持这一点.
我通常感到困惑对周围当我需要之间做出选择doc/
,并docs/
...
归档时间: |
|
查看次数: |
6986 次 |
最近记录: |