luaevent/premake.lua

Sun, 10 Jun 2007 16:01:26 +0000

author
Thomas Harning Jr <harningt@gmail.com>
date
Sun, 10 Jun 2007 16:01:26 +0000
changeset 0
f2e807614be9
permissions
-rw-r--r--

Initial commit:
* Created tree structure
* Committed current version

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"
	)
}

mercurial