You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
355 B

#!/bin/bash
# NOTE: Ensure you use flatc version 1.6.0 here!
# Generate the CHRE-side header file
flatc --cpp -o ../include/generated/ --scoped-enums \
--cpp-ptr-type chre::UniquePtr chre_power_test.fbs
# Generate the AP-side header file with some extra goodies
flatc --cpp -o ./ --scoped-enums --gen-mutable \
--gen-object-api chre_power_test.fbs