bgfx/premake/example-02-metaballs.lua

37 lines
727 B
Lua
Raw Normal View History

2012-09-16 20:36:08 -04:00
project "example-02-metaballs"
uuid "413b2cb4-f7db-11e1-bf5f-a716de6a022f"
2012-06-01 22:55:56 -04:00
kind "WindowedApp"
2012-09-16 20:36:08 -04:00
debugdir (BGFX_DIR .. "examples/02-metaballs/")
2012-06-01 22:55:56 -04:00
includedirs {
BGFX_DIR .. "../bx/include",
BGFX_DIR .. "include",
}
files {
BGFX_DIR .. "examples/common/**.cpp",
BGFX_DIR .. "examples/common/**.h",
2012-09-16 20:36:08 -04:00
BGFX_DIR .. "examples/02-metaballs/**.cpp",
BGFX_DIR .. "examples/02-metaballs/**.h",
2012-06-01 22:55:56 -04:00
}
links {
"bgfx",
}
configuration { "nacl" }
targetextension ".nexe"
configuration { "nacl", "Release" }
postbuildcommands {
"@echo Stripping symbols.",
"@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
}
2012-06-02 15:44:37 -04:00
configuration { "linux" }
links {
"GL",
"pthread",
}