Newer
Older
solution "TEngine"
configurations { "Debug", "Release" }
objdir "obj"
dg
committed
if _OPTIONS.force32bits then buildoptions{"-m32"} linkoptions{"-m32"} libdirs{"/usr/lib32"} end
dg
committed
if _OPTIONS.relpath then linkoptions{"-Wl,-rpath -Wl,\\\$\$ORIGIN/lib "} end
"src/utf8proc",
dg
committed
"/opt/SDL-1.3/include/SDL/",
if _OPTIONS.lua == "default" then includedirs{"src/lua"}
elseif _OPTIONS.lua == "jitx86" then includedirs{"src/luajit", "src/dynasm",}
elseif _OPTIONS.lua == "jit2" then includedirs{"src/luajit2/src", "src/luajit2/dynasm",}
end
configuration "macosx"
buildoptions { "-pagezero_size 10000", "-image_base 100000000" }
if _OPTIONS.luaassert then defines {"LUA_USE_APICHECK"} end
if _OPTIONS.pedantic then buildoptions { "-Wall" } end
flags { "Optimize", "NoFramePointer" }