The CLion by JetBrains is a nice development environment, but I've been unable to figure out how to configure out how configure CLion to use the GNU toolchain to compile code for the Teensy 3.2 on Mac Os. I was able to install the toolchain and set the $PATH and verify that the toolchain runs, but the details of how to configure CLion (which uses CMake) to build the project have eluded me. I'm working with JetBrains to try and figure this out and, based on the feedback from them, this should be possible. But, unfortunately, while I can code C/C++, I'm not very skilled with configuring the build process.

Has anyone else tried to use CLion for Teensy development on MacOs? If so, can you provide any pointers, such as a sample project that's set up to compile and build for a Teensy?

Wayne