Sun, 10 Jun 2007 16:01:26 +0000
Initial commit:
* Created tree structure
* Committed current version
0 | 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 luaevent.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 | } |