[CMake] Source file symlinks on out-of-source builds

Eric Noulard eric.noulard at gmail.com
Thu Dec 3 15:36:24 EST 2009


2009/12/3 Jed Brown <jed at 59a2.org>:
> On Thu, 03 Dec 2009 16:26:19 -0200, Rodolfo Schulz de Lima <rodolfo at rodsoft.org> wrote:
>> About emacs/vi, they can locate the source file only if we're going
>> though an error list, as gcc spits out the path to the source files
>> involved. But if you want to load another file, you must do it yourself,
>> which can be irritating sometimes.
>
> See etags/ctags (this is ancient technology).  Also semantic (part of
> cedet for emacs) does semantic analysis so it can jump more
> intelligently between files (i.e. determine the type of a variable and
> jump to the appropriate definition).

Cscope is another light and fast (compared to IDE) alternative
http://cscope.sourceforge.net/
cscope is a kind of old-school age too:
"Joe Steffen first started writing cscope in the early 1980's [...] on
on a PDP-11"

Works nicely from within emacs/xemacs using xscope
Works with vim too: http://cscope.sourceforge.net/cscope_vim_tutorial.html

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list