Package Details: catch2-git 2.7.2.r25.gf1e14a11-1

Git Clone URL: https://aur.archlinux.org/catch2-git.git (read-only)
Package Base: catch2-git
Description: Modern, C++-native, header-only, test framework for unit-tests, TDD and BDD (developmental version)
Upstream URL: https://github.com/catchorg/catch2
Licenses: boost
Conflicts: catch2
Provides: catch2
Submitter: rsa
Maintainer: jamespharvey20
Last Packager: jamespharvey20
Votes: 1
Popularity: 0.001947
First Submitted: 2018-02-27 04:45
Last Updated: 2019-05-11 11:13

Dependencies (3)

Required by (4)

Sources (1)

Latest Comments

jamespharvey20 commented on 2019-05-11 11:13

Adopted and fixed.

schnedan commented on 2019-02-28 22:07

just cloned the current from github... out of source builds works perfectly,...

neroburner commented on 2019-01-15 19:10

package does not build anymore. I think it does not like the in-source build

[ 1%] Linking CXX executable SelfTest /bin/ld: cannot open output file SelfTest: Is a directory

can be fixed with out of tree build

build() {
    cmake -S "$srcdir/$_gitname" -B "$srcdir/$_gitname/_build" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" -DCMAKE_INSTALL_LIBDIR="lib"
    cmake --build "$srcdir/$_gitname/_build"
}
check() {
    cmake -S "$srcdir/$_gitname" -B "$srcdir/$_gitname/_build" -DBUILD_TESTING=ON
    cmake --build "$srcdir/$_gitname/_build" --target test
}
package() {
    cmake --build "$srcdir/$_gitname/_build" --target install
}