Comment: unit testing and mocking framework for C/C++ Description: CppUTest is a C /C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: https://cpputest.github.io
34 lines
809 B
Makefile
34 lines
809 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2019/06/21 20:46:36 rsadowski Exp $
|
|
#
|
|
COMMENT = unit testing and mocking framework for C/C++
|
|
|
|
V = 3.8
|
|
DISTNAME = cpputest-${V}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://cpputest.github.io
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = https://github.com/cpputest/cpputest/releases/download/v${V}/
|
|
|
|
MODULES = devel/cmake
|
|
|
|
# Stop the noise with modern compiler
|
|
CXXFLAGS += -Wno-zero-as-null-pointer-constant \
|
|
-Wno-c++98-compat \
|
|
-Wno-inconsistent-missing-destructor-override \
|
|
-Wno-c++98-compat-pedantic \
|
|
-Wno-cast-qual
|
|
|
|
# Many tests fails with enabled leak detection
|
|
CONFIGURE_ARGS += -DMEMORY_LEAK_DETECTION=OFF
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cpputest
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/cpputest
|
|
|
|
.include <bsd.port.mk>
|