12 | | Start KDevelop and select {{{Project -> Import Existing Project}}}. Choose the repository directory as source directory. As project type choose {{{Generic C++ Application (Automake Base)}}}. This will auto generate the project. There are some settings that you will have to get right to enable KDevelop to compile your program correctly: |
13 | | {{{ |
| 12 | 1. Start KDevelop and select {{{Project -> Import Existing Project}}}. Choose the repository directory as source directory. As project type choose {{{Generic C++ Application (Automake Base)}}}. This will auto generate the project. There are some settings that you will have to get right to enable KDevelop to compile your program correctly: |
| 13 | 1. Code File Endings: {{{Project->Project Settings->C++ Specific}}} Section: {{{Class Wizard Options::Implementation Suffix}}}: Change it to {{{.cc}}} |
| 14 | 1. Configure Options: {{{Project->Project Settings->Configure Options}}} Section: {{{Configuration:default, Top Source Directory}}} Choose your source code directory. Do the same for {{{Build Directory}}}. You will be asked if KDevelop should re-run the configure script, yes, make it so! This should work smoothly |
| 15 | Now you are able to build the source by choosing {{{Build->Build Project}}} or by just hiting the {{{F8}}} key. |
15 | | }}} |
| 17 | === KDevelop Misc Configurations === |
| 18 | |
| 19 | * Source Code Formatting |
| 20 | 1. {{{Settings=>Configure Editor}}} (this is only clickable if you have already opened a c++ source file to view) |
| 21 | 1. Check {{{Remove trailing spaces}}} |
| 22 | 1. Indentation: Select {{{C Style}}} for {{{Indentation Mode}}} |
| 23 | 1. Open/Save Check {{{Replace tabs with spaces}}}, and {{{Remove trailing spaces}}} |
| 24 | |
| 25 | * Integrate the Orxonox Doxygen Documentation |
| 26 | 1. {{{Settings=>Configure KDevelop}}}, {{{Source Formatter}}}: Select {{{GNU}}} |
| 27 | 1. 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) |
18 | | * Code File Endings: {{{Project->Project Settings->C++ Specific}}} Section: {{{Class Wizard Options::Implementation Suffix}}}: Change it to {{{.cc}}} |
19 | | * Configure Options: {{{Project->Project Settings->Configure Options}}} Section: {{{Top Source Directory}}} Choose your source code directory. |
20 | | |
21 | | \item{Einstellungen} |
22 | | Stellt kdevelop so ein, wie es euch passt. |
23 | | Wichtig sind folgende Optionen: |
24 | | \codesnip{gobble=0} |
25 | | Settings -> |
26 | | Configure Kdevelop |
27 | | Configure Editor |
28 | | Configure Shortcuts |
29 | | Project -> |
30 | | Project Options |
31 | | \end{Verbatim} |
32 | | Eine kleine Dokumentation dazu findet ihr auch unter |
33 | | \codesnip{gobble=0} |
34 | | https://www.orxonox.net/cgi-bin/trac.cgi/wiki/LinuxCodingTools |
35 | | \end{Verbatim} |
36 | | |
37 | | \item{Spielen} |
38 | | Der beste Weg, einen Editor kennen zu lernen ist, |
39 | | damit einfach einmal ein wenig zu spielen. |
40 | | Da Kdevelop sehr intuitiv ist, solltet ihr sehr rasch damit klar kommen. |
41 | | \end{enumerate} |
42 | | |
43 | | |
44 | | |
45 | | === KDevelop Misc Configurations === |
46 | | Now costomize your kdevelop like this:[[br]] |
47 | | __Settings=>Configure KDevelop...__ |
48 | | * Source Formatter: Select {{{GNU}}} |
49 | | * 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) |
50 | | __Settings=>Configure Editor... __ |
51 | | (this is only clickable if you have already opened a c++ source file to view) |
52 | | * Editing: Check {{{Remove trailing spaces}}} |
53 | | * Indentation: Select {{{C Style}}} for {{{Indentation Mode}}} |
54 | | * Open/Save Check {{{Replace tabs with spaces}}}, and {{{Remove trailing spaces}}} |