cmake: api-tests: Allow CROSS_COMPILE to set C compiler

Cmake currently falls back to the default C compiler on the system,
which may not be an appropriate embedded toolchain in every case.
This commit checks for a `CROSS_COMPILE` field that can be
passed in to indicate the specific GCC cross-compiler to use. If no
matching value is found, it defaults to the system C compiler,
as was the case previously.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2 files changed
tree: 153fe5e5152c09faf4746171c8cc818c38555448
  1. api-specs/
  2. api-tests/
  3. tbsa-v8m/
  4. .gitignore
  5. LICENSE.md
  6. README.md