Updated PNacl build.

This commit is contained in:
bkaradzic 2013-05-18 15:28:35 -07:00
parent 065ab46822
commit 5db71608cb
2 changed files with 15 additions and 7 deletions

View File

@ -69,12 +69,12 @@ Download AndroidNDK from:
sudo apt-get install libgl1-mesa-dev
### Prerequisites for Native Client (Pepper 22) on Windows
### Prerequisites for Native Client on Windows
Download Native Client SDK from:
[https://developers.google.com/native-client/sdk/download](https://developers.google.com/native-client/sdk/download)
setx NACL <path to Native Client SDK directory>\toolchain\win_x86_newlib
setx NACL_SDK_ROOT <path to Native Client SDK directory>
### Prerequisites for Windows
@ -115,7 +115,8 @@ Other platforms:
Configuration is `<platform>-<debug/release>[32/64]`. For example:
linux-release32, nacl-debug64, android-release, etc.
linux-release32, nacl-debug64, nacl-arm-debug, pnacl-release,
android-release, etc.
Examples
--------

View File

@ -67,10 +67,8 @@ function exampleProject(_name, _uuid)
"GLESv2",
}
configuration { "emscripten" }
targetextension ".bc"
configuration { "nacl or nacl-arm or pnacl" }
configuration { "nacl or nacl-arm" }
kind "ConsoleApp"
targetextension ".nexe"
links {
"ppapi",
@ -78,6 +76,15 @@ function exampleProject(_name, _uuid)
"pthread",
}
configuration { "pnacl" }
kind "ConsoleApp"
targetextension ".pexe"
links {
"ppapi",
"ppapi_gles2",
"pthread",
}
configuration { "linux" }
links {
"X11",