irony-mode is: an Emacs minor-mode that aims at improving the editing experience for the C, C++ and Objective-C languages. It works by using a combination of an Emacs package and a C++ program (irony-server) that uses libclang. (provides code completion with either company-mode or auto-complete)
So, For tiny projects that I might be working on, which are compiled with a simple g++ foo.c -o foo
, how should I put the compile files to make irony-mode work?
And what about larger projects that uses CMake, SCons and others! How do I get those compilations flags for projects that make use of these piece of software to build themselves?
Sorry, but irony-mode assumes a lot of things and dismiss any in deep explanation about these things it mentions, and since I'm not a full time C++ developer, figuring out myself is quite hard.