bgfx/premake/example-03-raymarch.lua

40 lines
779 B
Lua
Raw Normal View History

2012-10-07 23:41:18 -04:00
project "example-03-raymarch"
uuid "1cede802-0220-11e2-91ba-e108de6a022f"
kind "WindowedApp"
debugdir (BGFX_DIR .. "examples/runtime/")
includedirs {
BGFX_DIR .. "../bx/include",
BGFX_DIR .. "include",
}
files {
BGFX_DIR .. "examples/common/**.cpp",
BGFX_DIR .. "examples/common/**.h",
BGFX_DIR .. "examples/03-raymarch/**.cpp",
BGFX_DIR .. "examples/03-raymarch/**.h",
}
links {
"bgfx",
}
2012-10-22 01:09:14 -04:00
configuration { "emscripten" }
targetextension ".bc"
2012-10-07 23:41:18 -04:00
configuration { "nacl" }
targetextension ".nexe"
configuration { "nacl", "Release" }
postbuildcommands {
"@echo Stripping symbols.",
"@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
}
configuration { "linux" }
links {
"GL",
"pthread",
}