9 maintainer: github@recursion.ninja
10 copyright: 2018 Alex Washburn (recursion.ninja)
12 synopsis: A binding to a C++ hashtable for thread-safe memoization.
14 description: This package is designed to provide a "minimal working example"
15 to test the cxx-sources and the cxx-options buildinfo flags.
16 The code was pulled out PCG, https://github.com/amnh/pcg
21 -- We must provide the full relative path to every C file that the project depends on.
22 c-sources: memoized-tcm/costMatrixWrapper.c
23 memoized-tcm/dynamicCharacterOperations.c
27 cxx-sources: memoized-tcm/costMatrix.cpp
29 cxx-options: --std=c++11
31 default-language: Haskell2010
33 -- This library is required for the C++ standard template library.
34 extra-libraries: stdc++
36 -- Here we list all directories that contain C header files that the FFI tools will need
37 -- to locate when preprocessing the C files. Without listing the directories containing
38 -- the C header files here, the FFI preprocession (hsc2hs, c2hs,etc.) will fail to locate
39 -- the requisite files.
40 -- Note also, that the parent directory of the necessary C header files must be specified.
41 -- The preprocesser will not recursively look in subdirectories for C header files!
42 include-dirs: memoized-tcm
47 build-depends: base >=4.5.1
50 default-language: Haskell2010
52 ghc-options: -O2 -Wall
59 -- Modules exported by the library.
60 other-modules: Bio.Character.Exportable.Class
67 import: ffi-build-info
70 -- Modules exported by the library.
71 exposed-modules: Bio.Character.Exportable.Class
80 import: ffi-build-info
89 executable exe-with-lib
100 benchmark bench-no-lib
102 import: ffi-build-info
108 type: exitcode-stdio-1.0
113 benchmark bench-with-lib
115 import: language-spec
119 type: exitcode-stdio-1.0
126 test-suite test-no-lib
128 import: ffi-build-info
134 type: exitcode-stdio-1.0
139 test-suite test-with-lib
141 import: language-spec
145 type: exitcode-stdio-1.0