Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 549 Bytes

build-native.md

File metadata and controls

35 lines (23 loc) · 549 Bytes

How to build native apps.

Setup

Build the docker image:

docker build -t native -f native.Dockerfile .

Build

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

Tests

make -C build/native/ test