| 1 | = Using KDevelop as your IDE = |
| 2 | == Necessary steps == |
| 3 | If you want to code comfortable then we suggest you to use an IDE. The below steps describe how to use KDevelop as your IDE. |
| 4 | 1. Go to the orxonox directory: |
| 5 | {{{ |
| 6 | cd ~/orxonox/trunk |
| 7 | }}} |
| 8 | 2. Let cmake produce the basic KDevelop project file: |
| 9 | {{{ |
| 10 | cmake -GKDevelop3 |
| 11 | }}} |
| 12 | 3. Run KDevelop and open your project file (Project -> Open Project) |
| 13 | '''Edit essential options''' |
| 14 | 4. Go to ''Project->Project Options'' choose ''Run Options'' and change following things: |
| 15 | || Executable || #PATH_TO_ORXONOX/bin/orxonox || |
| 16 | || Working Directory || #PATH_TO_ORXONOX/bin || |
| 17 | 5. Now choose ''Build Options'', select ''Make'', activate ''Run multiple jobs'' and change ''Simultaneous jobs'' (e.g. to 4) |
| 18 | == Make KDevelop more efficient == |
| 19 | In order to improve productivity you can activate / benefit from some features. |
| 20 | === Shortcuts === |
| 21 | * F8: Build the Project |
| 22 | * F9: Start the debugger (gdb based) |
| 23 | * If you want to define further shortcuts (i.e. ''Run Application'') then you can configure them in ''Settings -> Configure Shortcuts'' |
| 24 | === Split of Header/Source files === |
| 25 | |