-
Notifications
You must be signed in to change notification settings - Fork 42
/
dub.sdl
61 lines (49 loc) · 1.47 KB
/
dub.sdl
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
name "eventcore"
description "Pro-actor based abstraction layer over operating system asynchronous I/O facilities."
license "MIT"
copyright "Copyright © 2016-2018 Sönke Ludwig"
targetType "library"
libs "ws2_32" "user32" platform="windows-dmd"
dependency "taggedalgebraic" version=">=0.10.12 <0.12.0-0"
configuration "epoll" {
platforms "linux"
versions "EventcoreEpollDriver"
}
// getaddrinfo_a based DNS lookups
configuration "epoll-gaia" {
libs "anl"
versions "EventcoreUseGAIA"
platforms "linux"
versions "EventcoreEpollDriver"
}
configuration "cfrunloop" {
platforms "osx" "ios" "tvos" "watchos"
versions "EventcoreCFRunLoopDriver"
lflags "-framework" "CoreFoundation"
lflags "-framework" "CoreServices"
}
configuration "kqueue" {
platforms "osx" "freebsd"
versions "EventcoreKqueueDriver"
}
configuration "winapi" {
platforms "windows"
versions "EventcoreWinAPIDriver"
}
configuration "select" {
platforms "posix" "windows"
versions "EventcoreSelectDriver"
}
// TODO: The implementation is currently just a bunch of stubs, uncomment once
// we have a minimal set of functionality actually available.
/*configuration "libasync" {
dependency "libasync" version="~>0.8.2" optional=true default=false
versions "EventcoreLibasyncDriver"
}*/
configuration "generic" {
// Defines eventDriver as the generic EventDriver interface. Setup must be done manually.
}
buildType "unittest-dip1000" {
buildOptions "unittests" "debugMode" "debugInfo"
dflags "-preview=dip1000"
}