Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

As in the title the questions is what is the difference between (in-place/Out-of-place builds)?

like image 812
Wazery Avatar asked Oct 25 '10 21:10

Wazery


1 Answers

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.

like image 172
Jack Kelly Avatar answered Oct 31 '22 19:10

Jack Kelly