Programming Definitions: What exactly is 'Building'.

后端 未结 4 689
情话喂你
情话喂你 2020-12-12 12:52

What does it mean to build a solution/project/program? I want to make sure I have my definitions correct (so I don\'t sound like a idiot when conv

4条回答
  •  庸人自扰
    2020-12-12 13:31

    Building means many things to many people, but in general it means starting with source files produced by developers and ending with things like installation packages that are ready for deployment.

    "The build" can contain many things:

    • Compilation of source files (for languages/environments that support a separate/explicit compilation step)
    • Linking of object code (for languages/environments that support a separate/explicit linking step)
    • Production of distribution packages, also called "installers"
    • Generation of documentation that is embedded within the source code files, e.g. Doxygen, Javadoc
    • Execution of automated tests like unit tests, static analysis tests, and performance tests
    • Generation of reports that tell the development team how many warnings and errors occurred during the build
    • Deployment of distribution packages. For example, the build could automatically deploy/publish a new version of a web application (assuming that the build is successful).

    "The build" can be done "by hand" or it can be automated, or some hybrid of the two. A manual build is a build that requires build commands like compilers to be executed one by one. An automated build packages together all of the individual build tools into a large build program that can be (ideally) run in a single step.

提交回复
热议问题