aboutsummaryrefslogtreecommitdiff
path: root/misc/quantum++/Makefile
blob: 870d29583d0fbb9557fc21ed8da968835b6e7138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	quantum++
DISTVERSIONPREFIX=	v
DISTVERSION=	3.1
CATEGORIES=	misc devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ header-only general purpose quantum computing library
WWW=		https://github.com/softwareQinc/qpp

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake:testing compiler:c++17-lang eigen:3,build,run

USE_GITHUB=	yes
GH_ACCOUNT=	softwareQinc
GH_PROJECT=	qpp

CMAKE_TESTING_ON=	WITH_UNIT_TESTS
CMAKE_TESTING_TARGET=	unit_tests

NO_BUILD=	yes
NO_ARCH=	yes

post-test: # run tests
	@${BUILD_WRKSRC}/unit_tests/unit_tests

.include <bsd.port.mk>