This repository contains macros that enable C++ build and unit testing on Mac, Linux, iOS, Android, and WebAssembly.
Examples are based on bazel-examples for C++ (Stage 3), but extended to also work on mobile devices.
bazel query //...
bazel test //:host
bazel test //:ios --test_arg=--destination=platform=ios_device,id=<device_id> --config=ios_device
bazel test //:android --test_arg=--device_id=<device_id> --config=android
bazel test //:android-emulator --config=android
bazel test //:wasm-all --config=wasm