forked from vibe-d/eventcore
-
Notifications
You must be signed in to change notification settings - Fork 1
/
dub.sdl
67 lines (54 loc) · 1.57 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
62
63
64
65
66
67
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 "resolv" platform="linux"
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"
versions "EventcoreCFRunLoopDriver"
lflags "-framework" "CoreFoundation"
lflags "-framework" "CoreServices"
}
configuration "kqueue" {
platforms "osx" "freebsd"
versions "EventcoreKqueueDriver"
}
configuration "winapi" {
platforms "windows-x86_64" "windows-x86_mscoff" "windows-ldc" "windows-gdc"
versions "EventcoreWinAPIDriver"
}
configuration "select" {
platforms "posix" "windows-x86_64" "windows-x86_mscoff"
versions "EventcoreSelectDriver"
}
configuration "winapi-optlink" {
platforms "windows-x86-dmd"
versions "EventcoreWinAPIDriver"
sourceFiles "lib/ws2_32.lib" "lib/kernel32.lib"
}
configuration "select-optlink" {
platforms "windows-x86-dmd"
versions "EventcoreSelectDriver"
sourceFiles "lib/ws2_32.lib" "lib/kernel32.lib"
}
configuration "libasync" {
dependency "libasync" version="~>0.8.2"
versions "EventcoreLibasyncDriver"
}
configuration "generic" {
// Defines eventDriver as the generic EventDriver interface. Setup must be done manually.
}