packages feed

hcdt-0.1.0.4: hcdt.cabal

cabal-version:      2.2
name:               hcdt
version:            0.1.0.4
license:            BSD-3-Clause
license-file:       LICENSE
copyright:          2022 Stéphane Laurent
maintainer:         laurent_step@outlook.fr
author:             Stéphane Laurent
homepage:           https://github.com/githubuser/hcdt#readme
synopsis:           2d Delaunay triangulation
description:
    This library performs the constrained or unconstrained 2d Delaunay triangulation.
    .
    It uses the C++ library 'CDT'.
    .
    For examples, look the README file.

category:           Geometry
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md
    LICENSE_CDT.txt

source-repository head
    type:     git
    location: https://github.com/githubuser/hcdt

library
    exposed-modules:  Geometry.HCDT
    cxx-options:      -fPIC -std=c++11
    c-sources:        cpp/hcdt.cpp
    hs-source-dirs:   src
    other-modules:
        Geometry.HCDT.Types
        Geometry.HCDT.Triangulation
        Geometry.HCDT.Delaunay
        Geometry.HCDT.Utils

    default-language: Haskell2010
    other-extensions: CPP ForeignFunctionInterface
    extra-libraries:  stdc++
    include-dirs:     cpp
    includes:
        cpp/CDT.h cpp/CDT.hpp cpp/CDTUtils.h cpp/CDTUtils.hpp cpp/hcdt.hpp
        cpp/KDTree.h cpp/LocatorKDTree.h cpp/predicates.h cpp/remove_at.hpp
        cpp/Triangulation.h cpp/Triangulation.hpp

    install-includes:
        cpp/CDT.h cpp/CDT.hpp cpp/CDTUtils.h cpp/CDTUtils.hpp cpp/hcdt.hpp
        cpp/KDTree.h cpp/LocatorKDTree.h cpp/predicates.h cpp/remove_at.hpp
        cpp/Triangulation.h cpp/Triangulation.hpp

    ghc-options:      -Wall -optcxx-std=c++11
    build-depends:
        base >=4.7 && <5,
        containers >=0.6.4.1,
        indexed-traversable >=0.1.2