I'm everyday AppCode user. Recently I started after hours project using Arduino and PlatformIO stack which works quite well by generating CMake project for CLion. Though I have two problems:
- I'm used to have a header file which is auto-included to every other files so I can put there common defines, etc. In PlatformIO I use `-includeHeaderFile.h` compiler parameter which does the job. Question is how to mark `HeaderFile.h` in CLion/CMake that it is auto-included.
- Second problem is with `-iquoteDirectoryPath` style includes. How to add include folder in CMake so CLion allows/suggests imports in "" and not in <>? I use `include_directories()` in my lists but then CLion always suggests and autoimports headers using <> notation. Of course I can make it work by using `-I` instead of `-iquote` but I don't want to.