Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.55 KB

File metadata and controls

48 lines (29 loc) · 1.55 KB

Tooling

This folder contains tooling used for both cross compiling, developing (and running) and can also be used for deployment setup.

Files

Installs development dependencies for building this repository. QtGstreamer is also built here.

Installs runtime dependencies for running autoapp.

This contains a Docker container that can cross compile to the Raspbian target. Adjust the version as necessary.

The devcontainer image is built using the Dockerfile that just runs the dependencies and runtime installations. This should also facilitate piping audio (via Pulse) and video (via X) out to the host Windows machine.

This runs the cross compile in Docker and SCP's files over to a host. Eg ./crosscompile.ps1 user@host:folder_in_home

Development (Windows)

Devcontainer should facilitate most of the heavy lifting.

cmake -B./builds/build
cmake --build ./builds/build
./builds/build/assets/autoapp

Cross Compiling

# create the container
docker build -t openauto-crosscompile -f .\tooling\crosscompile.Dockerfile .
# cross compile and copy to host:folder
.\tooling\crosscompile.ps1 openauto:openauto