-
Notifications
You must be signed in to change notification settings - Fork 4
/
GLURaw.cabal
87 lines (84 loc) · 2.35 KB
/
GLURaw.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
name: GLURaw
version: 2.0.0.5
synopsis: A raw binding for the OpenGL graphics system
description:
GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility library. It is
basically a 1:1 mapping of GLU's C API, intended as a basis for a nicer
interface.
.
OpenGL is the industry's most widely used and supported 2D and 3D graphics
application programming interface (API), incorporating a broad set of
rendering, texture mapping, special effects, and other powerful visualization
functions. For more information about OpenGL and its various extensions,
please see <http://www.opengl.org/>
and <http://www.opengl.org/registry/>.
homepage: http://www.haskell.org/haskellwiki/Opengl
bug-reports: https://github.com/haskell-opengl/GLURaw/issues
copyright: Copyright (C) 2009-2018 Sven Panne
license: BSD3
license-file: LICENSE
author: Sven Panne
maintainer: Sven Panne <[email protected]>, Jason Dagit <[email protected]>
category: Graphics
build-type: Simple
tested-with:
GHC == 8.0.2
GHC == 8.2.2
GHC == 8.4.4
GHC == 8.6.5
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.1
GHC == 9.2.1
cabal-version: >= 1.10
extra-source-files:
CHANGELOG.md
README.md
flag UseNativeWindowsLibraries
description:
When compiling under Windows, use the native libraries instead of e.g. the
ones coming with Cygwin.
library
exposed-modules:
Graphics.GLU
Graphics.GLU.Callbacks
Graphics.GLU.Functions
Graphics.GLU.Tokens
Graphics.GLU.Types
other-modules:
Graphics.GLU.TypesInternal
c-sources:
cbits/HsGLURaw.c
hs-source-dirs: src
build-depends:
base >= 4 && < 5,
transformers >= 0.2 && < 0.7,
OpenGLRaw >= 3.0 && < 3.4
default-language: Haskell2010
ghc-options: -Wall
if impl(ghc > 8)
ghc-options: -Wcompat
other-extensions:
CPP
PatternSynonyms
ScopedTypeVariables
if os(windows) && flag(UseNativeWindowsLibraries)
if arch(i386)
cpp-options: "-DCALLCONV=stdcall"
else
cpp-options: "-DCALLCONV=ccall"
cc-options: "-DUSE_GETPROCADDRESS"
extra-libraries: glu32
else
cpp-options: "-DCALLCONV=ccall"
cc-options: "-DUSE_DLSYM"
if os(darwin)
frameworks: OpenGL
else
if os(ios)
frameworks: OpenGLES
else
extra-libraries: GLU
source-repository head
type: git
location: https://github.com/haskell-opengl/GLURaw.git