小编ale*_*tas的帖子

是否有C项目默认目录布局?

我一直想知道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) …
Run Code Online (Sandbox Code Playgroud)

c standards styles project

26
推荐指数
2
解决办法
6986
查看次数

标签 统计

c ×1

project ×1

standards ×1

styles ×1