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"
|
|
|
|
copyright "Copyright © 2012-2016 rejectedsoftware e.K."
|
2016-10-05 12:38:29 +00:00
|
|
|
|
|
|
|
targetType "library"
|
|
|
|
|
2016-10-16 21:01:22 +00:00
|
|
|
libs "anl" 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
|
|
|
|
2016-10-23 22:12:35 +00:00
|
|
|
dependency "taggedalgebraic" version="~>0.10.4"
|
|
|
|
|
2016-10-18 09:53:52 +00:00
|
|
|
configuration "epoll" {
|
|
|
|
platforms "linux"
|
|
|
|
versions "EventcoreEpollDriver"
|
|
|
|
}
|
|
|
|
|
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" {
|
2017-12-17 21:42:36 +00:00
|
|
|
platforms "windows-x86_64" "windows-x86_mscoff" "windows-ldc" "windows-gdc"
|
2016-10-18 09:53:52 +00:00
|
|
|
versions "EventcoreWinAPIDriver"
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration "select" {
|
2017-03-09 10:35:19 +00:00
|
|
|
platforms "posix" "windows-x86_64" "windows-x86_mscoff"
|
2016-10-18 09:53:52 +00:00
|
|
|
versions "EventcoreSelectDriver"
|
2016-10-05 12:38:29 +00:00
|
|
|
}
|
|
|
|
|
2017-03-09 10:35:19 +00:00
|
|
|
configuration "winapi-optlink" {
|
|
|
|
platforms "windows-x86-dmd"
|
|
|
|
versions "EventcoreWinAPIDriver"
|
2017-06-11 09:00:31 +00:00
|
|
|
sourceFiles "lib/ws2_32.lib" "lib/kernel32.lib"
|
2017-03-09 10:35:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
configuration "select-optlink" {
|
|
|
|
platforms "windows-x86-dmd"
|
|
|
|
versions "EventcoreSelectDriver"
|
2017-06-11 09:00:31 +00:00
|
|
|
sourceFiles "lib/ws2_32.lib" "lib/kernel32.lib"
|
2017-03-09 10:35:19 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|