Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37761386
en ru br
Репозитории ALT

Группа :: Разработка/C++
Пакет: doctest

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: doctest
Version: 2.4.11
Release: alt1
Summary: Feature-rich header-only C++ testing framework
License: MIT
Group: Development/C++
Url: https://github.com/doctest/doctest
Source0: %name-%version.tar

BuildRequires: gcc-c++
BuildRequires: cmake ctest

%description
A fast (both in compile times and runtime) C++ testing framework, with the
ability to write tests directly along production source (or in their own
source, if you prefer).

%package devel
Group: Development/C++
Summary: Development files for %name
Requires: libstdc++-devel

%description devel
%summary.

%prep
%setup

%build
%cmake \
 -DCMAKE_BUILD_TYPE=Release \
 -DDOCTEST_WITH_MAIN_IN_STATIC_LIB:BOOL=OFF \
 -DDOCTEST_WITH_TESTS:BOOL=ON \
 %nil
%cmake_build

%check
ctest --test-dir %_cmake__builddir

%install
%cmake_install

%files devel
%doc README.md CHANGELOG.md CONTRIBUTING.md
%doc LICENSE.txt
%_includedir/%name/
%_libdir/cmake/%name/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin