premake.lua

changeset 15
9b91d1bdbb40
parent 13
3e2ea1e7b2e8
equal deleted inserted replaced
14:2bc0eb496976 15:9b91d1bdbb40
17 } 17 }
18 if linux then 18 if linux then
19 package.buildoptions = { "-Wall" } 19 package.buildoptions = { "-Wall" }
20 package.config["Debug"].buildoptions = { "-O0" } 20 package.config["Debug"].buildoptions = { "-O0" }
21 package.linkoptions = { "-Wall -L/usr/local/lib" } 21 package.linkoptions = { "-Wall -L/usr/local/lib" }
22 package.postbuildcommands = { "mkdir -p test/luaevent", "cp bin/* test/luaevent", "cp luaevent.lua test" } 22 package.postbuildcommands = { "mkdir -p test/luaevent", "cp bin/* test/luaevent", "cp lua/* test" }
23 else 23 else
24 print([[Other environements currently untested, may need tweaking]]) 24 print([[Other environements currently untested, may need tweaking]])
25 end 25 end
26 26
27 package.files = { 27 package.files = {

mercurial