tech-pkg archive

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

CMake out-of-source builds



Hi,

I am working on the update of wm/awesome. Since version 4.2, in-source
builds are no longer supported.

Therefore I tried a hack to add the ouf-of-source build feature to pkgsrc:
http://ftp.netbsd.org/pub/NetBSD/misc/triaxx/pkgsrc/mk/cmake-outsource.diff

The idea is to build in ${WRKDIR}/.cmake_build. If several directories
are given in ${CONFIGURE_DIRS}, a build directory is made for each one
(e.g. CONFIGURE_DIRS="${WRKSRC} tests/examples", ${WRKDIR}/.cmake_build
and ${WRKDIR}/.cmake_build_tests_examples are made)

It works to build my WiP awesome and I tested net/owncloudclient
(traditional in-source build) that builds fine too.

Any review, remark or advice will be welcomed.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index