aboutsummaryrefslogtreecommitdiffstats
path: root/luaevent/premake.lua
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-06-10 16:01:26 +0000
committerThomas Harning Jr <harningt@gmail.com>2007-06-10 16:01:26 +0000
commitca61614b981fff436b50caabc2e61d4d962348b7 (patch)
tree23f812dd41a0a58f24513eade898ddaaf3614065 /luaevent/premake.lua
downloadluaevent-prosody-ca61614b981fff436b50caabc2e61d4d962348b7.tar.gz
luaevent-prosody-ca61614b981fff436b50caabc2e61d4d962348b7.zip
Initial commit:
* Created tree structure * Committed current version
Diffstat (limited to 'luaevent/premake.lua')
-rw-r--r--luaevent/premake.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/luaevent/premake.lua b/luaevent/premake.lua
new file mode 100644
index 0000000..654ffb0
--- /dev/null
+++ b/luaevent/premake.lua
@@ -0,0 +1,32 @@
+project.name = "luaevent.core"
+project.libdir = "lib"
+project.bindir = "bin"
+
+package = newpackage()
+package.kind = "dll"
+package.language = "c++"
+package.targetprefix = ""
+package.target = "core"
+
+package.links = {
+ "event"
+}
+
+package.includepaths = {
+ "include",
+}
+if linux then
+ package.buildoptions = { "-Wall" }
+ package.config["Debug"].buildoptions = { "-O0" }
+ package.linkoptions = { "-Wall -L/usr/local/lib" }
+ package.postbuildcommands = { "mkdir -p test/luaevent", "cp bin/* test/luaevent", "cp luaevent.lua test" }
+else
+ print([[Other environements currently untested, may need tweaking]])
+end
+
+package.files = {
+ matchrecursive(
+ "src/*.c",
+ "include/*.h"
+ )
+}