Add base:method() to return string identifying the current libevent backend in use
[luaevent.git] / premake.lua
blobd66861a85c90779b25acb0f28a57b451134fffb6
1 project.name = "luaevent.core"
2 project.libdir = "lib"
3 project.bindir = "bin"
5 package = newpackage()
6 package.kind = "dll"
7 package.language = "c++"
8 package.targetprefix = ""
9 package.target = "core"
11 package.links = {
12 "event"
15 package.includepaths = {
16 "include",
18 if linux then
19 package.buildoptions = { "-Wall" }
20 package.config["Debug"].buildoptions = { "-O0" }
21 package.linkoptions = { "-Wall -L/usr/local/lib" }
22 package.postbuildcommands = { "mkdir -p test/luaevent", "cp bin/* test/luaevent", "cp lua/* test" }
23 else
24 print([[Other environements currently untested, may need tweaking]])
25 end
27 package.files = {
28 matchrecursive(
29 "src/*.c",
30 "include/*.h"