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

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



All,

  Updating PKGBUILDs as specified in VCS_PKGBUILD_Guidelines, I have a svn based
source that builds with cmake. In the past I have forced out of source building
for all cmake built packages. e.g.:

build() {

  cd $srcdir
  msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
  mkdir -p build
  cd build

  msg "Starting cmake..."
  cmake ${srcdir}/blah \
  <snip>
  msg "Building - $pkgname..."
  make

}

  In https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines it specifies
that "The local repo is left untouched, thus invalidating the need for a -build
directory."

  Am I reading this correctly to say - "creating a separate out-of-source build
directory is no longer required -- even for cmake built packages?" Or am I just
confused again...

-- 
David C. Rankin, J.D.,P.E.


[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