I have a pretty large Teensy project. It is usually built by going to the .ino having the setup() and loop() functions. I would like to be able to build it either via the command line or with another IDE (CLion or something else). I tried using CMake to build the project but I was unable to get it working as I'm fairly new to CMake. I was wondering if getting it to work with CMake is my only option to change IDE. How do people here develop code on a Teensy without using Arduino IDE all the time?
Loomy__: I would like to be able to build it either via the command line
How about using the Arduino IDE's CLI? https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc
As for other IDE's, I don't have any experience with this, but I suspect things are a bit different in the case of Teensy as compared to other hardware packages. The reason is that Teensy doesn't use the standard Boards Manager installation system. Instead support for these boards is built right into the Teensyduino IDE installation. So to work with an alternate IDE, a 3rd party would need to create their own support package for Teensy. I know this has been done by PlatformIO: https://platformio.org/platforms/teensy but they don't support Arduino's hardware packages, so they have to do that for every platform. I don't know if any of the other alternate IDEs have established Teensy support.