1 Building and running demos via SCons and run.py
2 ---------------------------------------------------------------
4 From your native_client directory: if you haven't done
5 so yet, invoke SCons to build the Native Client project.
7 From the native client directory:
11 native_client$ ./scons MODE=all -c
13 native_client$ ./scons.bat MODE=all -c
15 native_client> scons.bat MODE=all -c
19 native_client$ ./scons MODE=all
21 native_client$ ./scons.bat MODE=all
23 native_client> scons.bat MODE=all
25 To run a demo, there is a short python script run.py in the
28 From the demo directory (earth used in this example):
30 To run, execute the python script:
31 native_client/tests/earth$ python run.py
34 Building and running demos from GNU Makefiles
35 ------------------------------------------------------------
36 Alternatively, it is possible to build and run some demos via a GNU makefile,
37 if you prefer. This will require you to have GNU make installed and
38 available in your path. First, if you haven't already done so, use SCons to
39 build the Native Client project. The demos with makefiles can then be locally
40 built & run via GNU make from within each of their directories. See the
41 makefile for more details:
42 native_client/tests/common/Makefile.mk