36 lines
775 B
TOML
36 lines
775 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[alternatives]
|
|
conflicts = [ "catch2-v2" ]
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DCATCH_BUILD_EXAMPLES=OFF",
|
|
"-DCATCH_ENABLE_COVERAGE=OFF",
|
|
"-DCATCH_ENABLE_WERROR=OFF",
|
|
"-DBUILD_TESTING=ON",
|
|
"-Wno-dev",
|
|
"-DBUILD_SHARED_LIBS=OFF",
|
|
]
|
|
no-delete-static = true
|
|
|
|
[dependencies]
|
|
build = [
|
|
"cmake",
|
|
"python",
|
|
]
|
|
|
|
[package]
|
|
description = "Modern, C++-native, header-only, test framework for unit-tests, TDD and BDD"
|
|
homepage = "https://github.com/catchorg/catch2"
|
|
license = "BSL-1.0"
|
|
name = "catch2"
|
|
version = "3.13.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "650795f6501af514f806e78c554729847b98db6935e69076f36bb03ed2e985ef"
|
|
url = "https://github.com/catchorg/Catch2/archive/refs/tags/v$version.tar.gz"
|