premake.lua

changeset 93
f0f5046ba1b0
parent 92
57662d96d8a8
parent 86
72cd8cb9b184
child 94
59d924f63c4a
equal deleted inserted replaced
92:57662d96d8a8 93:f0f5046ba1b0
1 project.name = "luaevent.core"
2 project.libdir = "lib"
3 project.bindir = "bin"
4
5 package = newpackage()
6 package.kind = "dll"
7 package.language = "c++"
8 package.targetprefix = ""
9 package.target = "core"
10
11 package.links = {
12 "event"
13 }
14
15 package.includepaths = {
16 "include",
17 }
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
26
27 package.files = {
28 matchrecursive(
29 "src/*.c",
30 "include/*.h"
31 )
32 }

mercurial