Bridgetek / ft9xx-sdk

ft90x SDK
MIT License
6 stars 0 forks source link

Add cmake for examples #33

Closed brtchip-gdm closed 1 year ago

brtchip-gdm commented 1 year ago

Introduce shell script to modify a template which creates lightweight CMakeLists.txt files for CMake, and Makefile for GNU make, in each examples directory.

These call a toolchain-wide build script, using CMAKE_TOOLCHAIN_FILE on CMake, include a toolchain makefile on GNU make.

This toolchain-wide build script will be accessible using the FT9XX_TOOLCHAIN environment variable in future releases. It can be used to write smaller project build scripts.