kumquat-buildroot/package/catch2/Config.in
Michael Nosthoff b3a462e85a package/catch2: bump to version 3.3.1
raise the minimum gcc to 5 as stated in release notes for 3.1.0 [0].

[0] https://github.com/catchorg/Catch2/releases/tag/v3.1.0

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-19 21:57:47 +01:00

29 lines
1010 B
Plaintext

config BR2_PACKAGE_CATCH2
bool "catch2"
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
depends on BR2_USE_MMU # fork()
help
Catch2 is mainly a unit testing framework for C++, but it
also provides basic micro-benchmarking features, and simple
BDD macros.
Catch2's main advantage is that using it is both simple and
natural. Tests autoregister themselves and do not have to
be named with valid identifiers, assertions look like
normal C++ code, and sections provide a nice way to share
set-up and tear-down code in tests.
This package allows running testsuites on the target which
might be advantageous in certain cases.
https://github.com/catchorg/Catch2
comment "catch2 needs a toolchain w/ C++, wchar, threads, gcc >= 5"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5