510e9957a8
New functionality: * Added MemoryAccountant * Added SimpleStringCache that also removed the memory leak caused by longjmp in C * Thread-safe memory leak detector overloads * New command-line options: * -h help option * -s shuffle (random) option * -t run a specific test option * -vv extra verbose option * -k add a package name to junit output * Added new asserts: CHECK_COMPARE, and improved C macros * Support for newer compilers and address sanitizer Small improvements: * Fixed problems with gdb * More 16-bit support * Added Makefile for making the examples with an installed CppUTest * Small mock improvements * Removed more compiler warnings * Support for C++14, C++17, and C++2x (added to automated build) Improved maintainability: * Docker builds * Vastly improved the automated build with more platforms and variants * Continuously releasing the passing build * MS-DOS support (added to automated build)
28 lines
693 B
Makefile
28 lines
693 B
Makefile
# $NetBSD: Makefile,v 1.7 2020/07/07 09:04:55 schmonz Exp $
|
|
|
|
DISTNAME= cpputest-4.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=cpputest/}
|
|
GITHUB_PROJECT= cpputest
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://cpputest.github.io/
|
|
COMMENT= Unit testing and mocking framework for C/C++
|
|
LICENSE= modified-bsd
|
|
|
|
PKGCONFIG_OVERRIDE+= cpputest.pc.in
|
|
|
|
USE_CMAKE= yes
|
|
#USE_LIBTOOL= yes
|
|
#USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++
|
|
|
|
TEST_TARGET= check tdd
|
|
|
|
INSTALLATION_DIRS= share/CppUTest
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/build/MakefileWorker.mk ${DESTDIR}${PREFIX}/share/CppUTest/MakefileWorker.mk
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|