2012-09-16 20:36:08 -04:00
|
|
|
project "example-01-cubes"
|
|
|
|
uuid "fec3bc94-e1e5-11e1-9c59-c7eeec2c1c51"
|
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/01-cubes/**.cpp",
|
|
|
|
BGFX_DIR .. "examples/01-cubes/**.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",
|
|
|
|
}
|