-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtst.cabal
More file actions
28 lines (26 loc) · 826 Bytes
/
tst.cabal
File metadata and controls
28 lines (26 loc) · 826 Bytes
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
Name: tst
Version: 0.1
Description: C++ FFI Example
build-type: Simple
Cabal-Version: >= 1.8
Library
hs-source-dirs: src
exposed-modules: Tst
include-dirs: cbits
/usr/local/c++-ffi-example/include
includes: cbits/a.h
install-includes: cbits/a.h
c-sources: cbits/a.cpp
extra-libraries: tst-c++
stdc++
extra-lib-dirs: /usr/local/c++-ffi-example/lib
ghc-options: -auto-all -Wall -O2 -fPIC
extensions: ForeignFunctionInterface
cc-options: -fPIC
build-tools: c2hs
build-depends: base >= 4.6 && < 5
Executable tst-prog
build-depends: base >= 4.6 && < 5
, tst
hs-source-dirs: apps
main-is: tst-prog.hs