开发者

What is the in-place/Out-of-place builds

开发者 https://www.devze.com 2023-01-21 18:01 出处:网络
As in the title the questions is what is the difference bet开发者_运维百科ween (in-place/Out-of-place builds)?An in-place build generates the various compiled files (.o/.obj files, executables, &c

As in the title the questions is what is the difference bet开发者_运维百科ween (in-place/Out-of-place builds)?


An in-place build generates the various compiled files (.o/.obj files, executables, &c.) in the same directory as the source tree.

An out-of-place build generates them in some directory that is not the source directory. This means that you can have several out-of-place builds that all point back to the same source tree, which is not possible once you have an in-place build.

See also: The CMake FAQ.

0

精彩评论

暂无评论...
验证码 换一张
取 消