eventcore/dub.sdl

56 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

name "eventcore"
description "Pro-actor based abstraction layer over operating system asynchronous I/O facilities."
2016-06-18 05:36:31 +00:00
license "MIT"
copyright "Copyright © 2016-2018 Sönke Ludwig"
2016-10-05 12:38:29 +00:00
targetType "library"
libs "resolv" platform="linux"
2017-09-05 13:09:06 +00:00
libs "ws2_32" "user32" platform="windows-dmd"
2019-02-22 20:28:19 +00:00
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"
}
2017-01-22 19:54:25 +00:00
configuration "kqueue" {
platforms "osx" "freebsd"
versions "EventcoreKqueueDriver"
2017-01-22 19:54:25 +00:00
}
configuration "winapi" {
platforms "windows"
versions "EventcoreWinAPIDriver"
}
configuration "select" {
platforms "posix" "windows"
versions "EventcoreSelectDriver"
2016-10-05 12:38:29 +00:00
}
configuration "libasync" {
dependency "libasync" version="~>0.8.2"
versions "EventcoreLibasyncDriver"
}
configuration "generic" {
// Defines eventDriver as the generic EventDriver interface. Setup must be done manually.
2016-10-05 12:38:29 +00:00
}