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
if _OPTIONS.lua == "default" then includedirs{"src/lua"}
elseif _OPTIONS.lua == "jit2" then includedirs{"src/luajit2/src", "src/luajit2/dynasm",}
end
"/c/code/SDL/lib",
"/c/code/SDL/include/SDL2",
"/c/code/SDL/include",
buildoptions { "-isysroot /Developer/SDKs/MacOSX10.6.sdk", "-mmacosx-version-min=10.6" }
if _OPTIONS.luaassert then defines {"LUA_USE_APICHECK"} end
if _OPTIONS.pedantic then buildoptions { "-Wall" } end
flags { "Optimize", "NoFramePointer" }