I’m using CLion to develop an application for the espressif8266 platform.
Unfortunately the syntax checking of CLion only works in source files that are placed directly in src/. Anything placed in sub-directories of src/ doesn’t get recognized properly.
If I modify the add_executable line in CMakeList.txt from
"add_executable(${PROJECT_NAME} ${SRC_LIST} )" to
"add_executable(${PROJECT_NAME} ${SRC_LIST} src)"
everything works mostly fine. This is obviously not a final solution, as the CMakeList file gets rewritten every time the project index gets rebuild.
Am I missing something or is this a bug?