Version 4 (modified by bensch, 19 years ago) (diff) |
---|
Linux Coding Environment
This document describes the linux coding environement, everything you will need to work on orxonox successfully and happily ever after. The guid is meant for all linux distributions but specialy for Gentoo.
Compiler
You will want to use the standard GNU gcc compiler that is shiped with all linux distributions.
Code Editors
After using xemacs with the ECB plugin, which was successful for small projects, we changed to the KDevelop editor, which is probably the best code editor in the whole open source world for the time beiing. We encourage you to install KDevelop, there is already a woking kdevelop project file found at: source:/trunk/orxonox.kdevelop#HEAD.
Now costomize your kdevelop like this:
Settings⇒Configure KDevelop…
- Source Formatter: Select GNU
- Documentation: Click on Doxygen Documentation Collection (in the lower middle) ⇒ Add: trunk/doc/html/index.html (this only works, if you have already generated the doxygen documentation with make doc in the orxonox trunk)
Settings⇒Configure Editor… (this is only clickable if you have already opened a c++ source file to view)
- Editing: Check Remove trailing spaces
- Indentation: Select C Style for Indentation Mode
- Open/Save Check Replace tabs with spaces, and Remove trailing spaces