COMMENT = unit testing and mocking framework for C/C++ V = 3.8 DISTNAME = cpputest-${V} REVISION = 0 CATEGORIES = devel HOMEPAGE = https://cpputest.github.io # BSD PERMIT_PACKAGE = Yes 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 # evertyhing except tests ALL_TARGET = CppUTest CppUTestExt # build whatever is left (ca. 61 C++ test files) pre-test: @${MODCMAKE_BUILD_TARGET} pre-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cpputest ${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/cpputest .include