# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           cmake 1.1
PortGroup           github 1.0

github.setup        LukasBanana GaussianLib 9b4a163a9a97c900b0febd93e22dc1be3faf6e20
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             2023.02.17
revision            0
categories          devel math
license             BSD
platforms           any
supported_archs     noarch
maintainers         nomaintainer
description         Basic linear algebra C++ library for 2D and 3D applications
long_description    {*}${description}
checksums           rmd160  771f79b1bb9af83f0f3673d5860f6c1306d804f9 \
                    sha256  864e0c754b837c2664a87bf9ce8d8055b9d7d96d75568af2566127062e06f427 \
                    size    137430

cmake.out_of_source no

compiler.cxx_standard   2011

# Default settings:
configure.args-append \
                    -DGaussLib_REAL_DOUBLE=OFF \
                    -DGaussLib_ASSERT_EXCEPTION=OFF \
                    -DGaussLib_ENABLE_SWIZZLE_OPERATOR=OFF \
                    -DGaussLib_ENABLE_INVERSE_OPERATOR=OFF \
                    -DGaussLib_DISABLE_AUTO_INIT=OFF \
                    -DGaussLib_ROW_MAJOR_STORAGE=OFF \
                    -DGaussLib_ROW_VECTORS=OFF

destroot {
    copy ${worksrcpath}/include/Gauss ${destroot}${prefix}/include
}

test.run            yes
test.cmd            ${worksrcpath}/build/test1
test.target
