mirror of https://github.com/bkaradzic/bgfx
Added NACL-ARM target.
This commit is contained in:
parent
800226545b
commit
a0bc7e3711
8
makefile
8
makefile
|
@ -7,6 +7,7 @@ all:
|
|||
premake --file=premake/premake4.lua vs2008
|
||||
premake --file=premake/premake4.lua vs2010
|
||||
premake --file=premake/premake4.lua --gcc=nacl gmake
|
||||
premake --file=premake/premake4.lua --gcc=nacl-arm gmake
|
||||
premake --file=premake/premake4.lua --gcc=pnacl gmake
|
||||
premake --file=premake/premake4.lua --gcc=mingw gmake
|
||||
premake --file=premake/premake4.lua --gcc=linux gmake
|
||||
|
@ -55,10 +56,17 @@ nacl-release64:
|
|||
make -R -C .build/projects/gmake-nacl config=release64
|
||||
nacl: nacl-debug32 nacl-release32 nacl-debug64 nacl-release64
|
||||
|
||||
nacl-arm-debug32:
|
||||
make -R -C .build/projects/gmake-nacl-arm config=debug32
|
||||
nacl-arm-release32:
|
||||
make -R -C .build/projects/gmake-nacl-arm config=release32
|
||||
nacl-arm: nacl-arm-debug32 nacl-arm-release32
|
||||
|
||||
pnacl-debug:
|
||||
make -R -C .build/projects/gmake-pnacl config=debug64
|
||||
pnacl-release:
|
||||
make -R -C .build/projects/gmake-pnacl config=release64
|
||||
pnacl: pnacl-debug pnacl-release
|
||||
|
||||
osx-debug32:
|
||||
make -C .build/projects/gmake-osx config=debug32
|
||||
|
|
|
@ -21,8 +21,13 @@ project "example-00-helloworld"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -23,8 +23,13 @@ project "example-01-cubes"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -23,8 +23,13 @@ project "example-02-metaballs"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -23,8 +23,13 @@ project "example-03-raymarch"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -23,8 +23,13 @@ project "example-04-mesh"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -23,8 +23,13 @@ project "example-05-instancing"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -20,8 +20,13 @@ project "example-06-bump"
|
|||
"bgfx",
|
||||
}
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -20,8 +20,13 @@ project "example-07-callback"
|
|||
"bgfx",
|
||||
}
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -23,8 +23,13 @@ project "example-08-update"
|
|||
configuration { "emscripten" }
|
||||
targetextension ".bc"
|
||||
|
||||
configuration { "nacl" }
|
||||
configuration { "nacl or nacl-arm or pnacl" }
|
||||
targetextension ".nexe"
|
||||
links {
|
||||
"ppapi",
|
||||
"ppapi_gles2",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "nacl", "Release" }
|
||||
postbuildcommands {
|
||||
|
|
|
@ -29,10 +29,6 @@ function copyLib()
|
|||
end
|
||||
|
||||
dofile "bgfx.lua"
|
||||
dofile "makedisttex.lua"
|
||||
dofile "shaderc.lua"
|
||||
dofile "texturec.lua"
|
||||
dofile "geometryc.lua"
|
||||
dofile "example-00-helloworld.lua"
|
||||
dofile "example-01-cubes.lua"
|
||||
dofile "example-02-metaballs.lua"
|
||||
|
@ -42,3 +38,7 @@ dofile "example-05-instancing.lua"
|
|||
dofile "example-06-bump.lua"
|
||||
dofile "example-07-callback.lua"
|
||||
dofile "example-08-update.lua"
|
||||
dofile "makedisttex.lua"
|
||||
dofile "shaderc.lua"
|
||||
dofile "texturec.lua"
|
||||
dofile "geometryc.lua"
|
||||
|
|
Loading…
Reference in New Issue