eventcore/dub.sdl
2017-03-09 11:35:19 +01:00

53 lines
1.2 KiB
Plaintext

name "eventcore"
description "Pro-actor based abstraction layer over operating system asynchronous I/O facilities."
license "MIT"
copyright "Copyright © 2012-2016 rejectedsoftware e.K."
targetType "library"
libs "anl" platform="linux"
libs "ws2_32" "user32" platform="windows"
dependency "taggedalgebraic" version="~>0.10.4"
configuration "epoll" {
platforms "linux"
versions "EventcoreEpollDriver"
}
configuration "kqueue" {
platforms "osx" "freebsd"
versions "EventcoreKqueueDriver"
}
configuration "winapi" {
platforms "windows-x86_64" "windows-x86_mscoff"
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"
}
configuration "select-optlink" {
platforms "windows-x86-dmd"
versions "EventcoreSelectDriver"
sourceFiles "lib/ws2_32.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.
}