I am currently developing a plugin for CLion and I've encountered a challenge. I need to access the error messages that are generated after a build attempt in CLion, specifically from within the plugin code I'm writing.
From my research, I have found that there are classes such as com.intellij.openapi.compiler.CompileContext in IntelliJ IDEA that can be used to access compiler messages. However, this doesn't seem to be available in the CLion plugin development context.
My main goal is to programmatically access the content that would normally appear in the Build tool window after a build attempt, especially when there are compilation errors. The purpose is to provide additional functionality in my plugin that is based on the build result.
I would appreciate any guidance or pointers you can provide on how I can achieve this. Is there a specific API or method available in the CLion plugin development context that would allow me to access these error messages?
Thank you in advance for your help!