Using kdevelop4

From Yade

Revision as of 14:18, 13 July 2010 by Bchareyre (talk | contribs)

Passing the pointer on members will display informations and links to navigate in the sources.

Yade sources come with a yade.kdev4 project file that you can open with kdevelop4. If for some reasons this file does not work for you, you can easily generate a new Yade project : delete first the existing file yade.kdev4, with the (hidden) folder .kdev4; start empty kdevelop sesion and "import" a project, then select the yade directory, but don't give any "project" file *.kdev4 (the old yade.kdevelop project for kdev3 cannot be read either), as it will have to be generated automaticaly; do not select anything on this first window, and go directly to next one. Select project type "custom build", then go to project configuration and set build executable "scons".

Yade can be compiled and debbuged from kdevelop. It gives nice error output with links to where the errors are, etc. There is also a rich class and member description, auto-completion, display of functions signatures,... as shown in screenshots.

Also check page on debugging.

Compiling from kdevelop will display links to where the errors are, as well as different formated listings of warningsn FIXMEs, TODOs,...