Re: Is out of source building still recommended with cmake in PKGBUILD scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tuesday 14 Jan 2014 23:17:53 Maxime Gauduin wrote:
> It is indeed no longer required with VCS sources, and has never been with
> tarballs since those are extracted every time you run makepkg so files you
> might have changed are overwritten anyway. However I sometimes find useful
> to keep doing that with cmake when you need to figure out why sth won't
> build, because that way files generated by cmake at build time are in a
> separate dir.

Mmm, bear in mind that most cmake projects won't be tested with in-source builds.  
It's possible they might break.  One possible scenario: files intended to be 
generated in the build directory could potentially match files that exist in the 
source directory (although that wouldn't be great practice), and bad things would 
then happen.

Paul


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux