How to build native apps.
Build the docker image:
docker build -t native -f native.Dockerfile .
From the docker image ./docker.sh native
, configure CMake to build the native binaries into build/native/
:
cmake -Bbuild/native/ -H. -DNATIVE=1
Build everything:
make -C build/native/
Launch and communicate with a native binary using --native
:
./host/stream.py --native --app ./app/build/app-swap/app-swap
make -C build/native/ test