forked from tim-m89/Salsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSalsa.cabal
100 lines (70 loc) · 2.16 KB
/
Salsa.cabal
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Cabal-Version: >= 1.10
Name: Salsa
Version: 0.2.0.2
Build-Type: Simple
Category: Foreign, .NET
Synopsis: A .NET Bridge for Haskell
Description:
Salsa is an experimental Haskell library and code generator that allows
Haskell programs to host the .NET runtime and interact with .NET libraries.
It uses type families extensively to provide a type-safe mapping of the .NET
object model in the Haskell type system.
Author: Andrew Appleyard
Maintainer: [email protected]
Homepage: http://haskell.org/haskellwiki/Salsa
License: BSD3
License-File: LICENSE
Copyright: (c) 2007-2015 Andrew Appleyard, Tim Matthews
Stability: Experimental
Tested-With: GHC==7.6.3
Extra-Source-Files:
README
Driver/README
Driver/Driver.cs
Driver/Salsa.dll
Generator/README
Generator/Generator.csproj
Generator/Generator.cs
Generator/Set.cs
Generator/Array.hs
Samples/Hello/Hello.proj
Samples/Hello/Hello.hs
Samples/Hello/Hello.imports
Samples/Weather/Weather.proj
Samples/Weather/Weather.hs
Samples/Weather/Weather.imports
Samples/Conway/Conway.proj
Samples/Conway/Conway.hs
Samples/Conway/Conway.imports
Samples/Conway/Conway.xaml
Docs/Thesis.pdf
flag use_mono
description: use mono instead of .Net
default: False
Source-Repository head
Type: git
Location: https://github.com/tim-m89/Salsa
Library
Default-Language: Haskell2010
C-sources: Foreign/Salsa/salsa.c
Exposed-modules:
Foreign.Salsa
Foreign.Salsa.Binding
Other-Modules:
Foreign.Salsa.CLR,
Foreign.Salsa.Common,
Foreign.Salsa.Core,
Foreign.Salsa.Resolver,
Foreign.Salsa.Driver
if !os(windows) || flag(use_mono)
Other-Modules:
Foreign.Salsa.Mono.CLRHost
Build-Depends: base==4.*, bytestring, file-embed
Cpp-options: -DMONO
cc-options: -DMONO
Extra-Libraries: glib-2.0, mono-2.0
else
Other-Modules:
Foreign.Salsa.Win.CLRHost
Build-Depends: base==4.*, Win32, bytestring, file-embed
Extra-Libraries: oleaut32, ole32