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-10-07 23:41:18 -04:00
|
|
|
debugdir (BGFX_DIR .. "examples/runtime/")
|
2012-09-16 20:36:08 -04:00
|
|
|
|
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",
|
|
|
|
}
|
|
|
|
|
2012-10-22 01:09:14 -04:00
|
|
|
configuration { "emscripten" }
|
|
|
|
targetextension ".bc"
|
|
|
|
|
2012-06-01 22:55:56 -04:00
|
|
|
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",
|
|
|
|
}
|