Where to put build Binaries?

If I'm using cmake to build software.. Where do I put the build binaries..
Does it have to be somewhere specific or can I put them anywere and the system will create a relevant path to access them?

Not sure how this works.

It is generally recommend (but not required) to do an out-of-source builds in most cases. There is one key reason I do it this way: to make it easier to delete compiled objects and binaries.

In most projects (whether using CMake or autconf), I usually generate scripts and projects files at "build" folder. So for example, if you sources (and the top-level CMakeLists.txt) is at /home/myuser/project/src, I normally generate CMakeFiles at /home/myuser/project/src/build.
Topic archived. No new replies allowed.