2016-01-11 20:33:49 +00:00
|
|
|
name "eventcore"
|
2016-10-18 09:53:52 +00:00
|
|
|
description "Pro-actor based abstraction layer over operating system asynchronous I/O facilities."
|
2016-06-18 05:36:31 +00:00
|
|
|
license "MIT"
|
2018-10-02 09:07:14 +00:00
|
|
|
copyright "Copyright © 2016-2018 Sönke Ludwig"
|
2016-10-05 12:38:29 +00:00
|
|
|
|
|
|
|
targetType "library"
|
|
|
|
|
2018-11-11 12:07:48 +00:00
|
|
|
libs "resolv" platform="linux"
|
2017-09-05 13:09:06 +00:00
|
|
|
libs "ws2_32" "user32" platform="windows-dmd"
|
2016-10-16 21:01:22 +00:00
|
|
|
|
2019-02-22 20:28:19 +00:00
|
|
|
dependency "taggedalgebraic" version=">=0.10.12 <0.12.0-0"
|
2016-10-23 22:12:35 +00:00
|
|
|
|
2016-10-18 09:53:52 +00:00
|
|
|
configuration "epoll" {
|
|
|
|
platforms "linux"
|
|
|
|
versions "EventcoreEpollDriver"
|
|
|
|
}
|
|
|
|
|
2018-11-11 12:07:48 +00:00
|
|
|
// getaddrinfo_a based DNS lookups
|
|
|
|
configuration "epoll-gaia" {
|
|
|
|
libs "anl"
|
|
|
|
versions "EventcoreUseGAIA"
|
|
|
|
platforms "linux"
|
|
|
|
versions "EventcoreEpollDriver"
|
|
|
|
}
|
|
|
|
|
2020-05-19 08:42:25 +00:00
|
|
|
configuration "cfrunloop" {
|
|
|
|
platforms "osx"
|
|
|
|
versions "EventcoreCFRunLoopDriver"
|
|
|
|
lflags "-framework" "CoreFoundation"
|
2020-05-22 07:58:08 +00:00
|
|
|
lflags "-framework" "CoreServices"
|
2020-05-19 08:42:25 +00:00
|
|
|
}
|
|
|
|
|
2017-01-22 19:54:25 +00:00
|
|
|
configuration "kqueue" {
|
2016-10-18 09:53:52 +00:00
|
|
|
platforms "osx" "freebsd"
|
|
|
|
versions "EventcoreKqueueDriver"
|
2017-01-22 19:54:25 +00:00
|
|
|
}
|
2016-10-18 09:53:52 +00:00
|
|
|
|
|
|
|
configuration "winapi" {
|
2021-01-12 17:59:52 +00:00
|
|
|
platforms "windows"
|
2016-10-18 09:53:52 +00:00
|
|
|
versions "EventcoreWinAPIDriver"
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration "select" {
|
2021-01-12 17:59:52 +00:00
|
|
|
platforms "posix" "windows"
|
2016-10-18 09:53:52 +00:00
|
|
|
versions "EventcoreSelectDriver"
|
2016-10-05 12:38:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
configuration "libasync" {
|
2016-12-18 22:55:59 +00:00
|
|
|
dependency "libasync" version="~>0.8.2"
|
2016-10-18 09:53:52 +00:00
|
|
|
versions "EventcoreLibasyncDriver"
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration "generic" {
|
|
|
|
// Defines eventDriver as the generic EventDriver interface. Setup must be done manually.
|
2016-10-05 12:38:29 +00:00
|
|
|
}
|