Re: ede-compdb status
David Engster <[email protected]> Sat, 10 Jan 2015 16:17:22 +0100
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Alastair Rankine writes: > Off the top of my head I think the outstanding work is: > > - Integrating the main compdb code - most of this work is independent > of the rest of EDE, but there is a bit of overlap with compiler flag > detection. > > - Unit tests. These may be problematic; I’ve been using some third > party libraries imported through cask. I don’t know if this is > feasible within cedet proper. > > - Converting documentation into Texinfo (as you say) > > - Check for updates required as a result of changes to EDE - > particularly the recent Locate Dominating File merge. Actually this is > something I need to do regardless. Do you need help with this? Otherwise, you now have push rights to the Git repository, so feel free to just check it in (I'm not sure if you followed this list; CEDET switched to Git, the repository is now at "ssh://[email protected]/p/cedet/git"; you can also use https if you prefer). > Lately, I also had an idea: wouldn't it be cool if the compilation > database could be generated from a compilation buffer? I mean, I use gcc > and I could use this 'bear' utility to generate the db, but I run 'make' > inside Emacs anyway, so all the data that is needed is right there in > the output. Eclipse has the same feature for 'make'-based projects: it > scans the output for preprocessor symbols, includes, etc. It's very > useful. > > Yeah that sounds possible, certainly. Presumably it would persist this > information somehow? Perhaps write out a compilation database file? > It’s an interesting idea. Yes, I think the first step would be to have code that creates a JSON compilation database file from a compilation buffer. We can first put this into CEDET, but I think in the long run we should try to get this into compile.el in Emacs proper. If we had this, we could simply tell EDE "Here's a compilation buffer, please generate a project from that", and it would simply call the function that creates the compilation database and then ede-compdb reads it in. -David ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Cedet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cedet-devel