15 | | This will auto generate the project files. There are some settings that you will have to get right to enable KDevelop to compile your program correctly: |
16 | | 1. Code File Endings: [[br]] |
17 | | {{{Project->Project Settings->C++ Specific}}} Section: {{{ Class Wizard Options::Implementation Suffix }}}: Change it to {{{.cc}}} |
18 | | 1. Configure Options: [[br]] |
19 | | {{{Project->Project Settings->Configure Options}}} Section: {{{Configuration:default, Top Source Directory}}} Choose your source code directory. [[br]] |
| 15 | This will auto generate the project files. |
| 16 | |
| 17 | === Complier Settings === |
| 18 | There are some settings that you will have to get right to enable KDevelop to compile your program correctly: |
| 19 | 1. C++ file endings: [[br]] |
| 20 | Select: {{{Project->Project Settings}}}, go to section: {{{C++ Specific}}}, there look out for: {{{ Class Wizard Options->Implementation Suffix }}}, change it from {{{.cpp}}}to {{{.cc}}} (since we call our files .cc and not .cpp) |
| 21 | 1. Project build options: [[br]] |
| 22 | Select {{{Project->Project Settings}}}, go to section: {{{ Build Options }}}, change to tab {{{Make}}}, there check the fields: {{{Abord on first error}}} and increase {{{Number of simultaneous jobs}}} to {{{2}}} or {{{3}}} |
| 23 | 1. Project {{{Configure}}} options: [[br]] |
| 24 | Select {{{Project->Project Settings}}}, go to section: {{{ Configure Options }}}, look out for: {{{Configuration:default, Top Source Directory}}} Choose your source code directory. [[br]] |