How to force stop cmake building

here is my old quesiton,

I try to force stop cmake building, and I find a good solution:

ToolWindowImpl tw = ToolWindowManagerImpl.getInstance(pj).getToolWindow("Messages")
if (tw) {
ContentManagerImpl cm = tw.getContentManager()

now, it can stop cmake building, but it will raise dialog first

so, how to skip this dialog and kill cmake building directly, cmake relative jar show "compiled code", so I can't get idea from source

Please sign in to leave a comment.