Quote:
Originally Posted by eschwartz
My PKGBUILD for sigil uses sigil-git/build/ for the build directory, configured with `cmake [options] ..` and it all works fine -- I don't see why that should be a problem assuming you point cmake at the correct source root.
A "build" subdirectory seems to be a rather common cmake convention. cmake considers that an "out of source build".
|
It's not a problem at all, really (if you point cmake to the source root). It's just that my instructions and commands are predicated on the build directory not being a subdirectory of the source root. You're free to deviate from that if you don't need to follow my commands verbatim.

I prefer to get neophytes clear away from the source package. That way I can advise them to delete the build directory without fear that the original source might have been compromised (and because it allows me to build right out of my git clone and push changes without fear of pushing more than I want to).
I do it the way I do simply because I prefer to leave the source pristine. I use a similar strategy when building Qt (without cmake). *shrug*