User Tools

Site Tools


getting_started:kdevelop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
getting_started:kdevelop [2020/02/12 15:25] ursgrafgetting_started:kdevelop [2021/03/31 09:44] ursgraf
Line 1: Line 1:
 ====== Use KDevelop with Existing Build Configuration ====== ====== Use KDevelop with Existing Build Configuration ======
-If you have previously built your application manually or with the aid of the [[getting_started:install_and_setup_development_environment#Getting_the_Sources_with_a_Script|EEROS build scripts]], you can import the configuration into KDevelop as follows: + 
-  - Import the project by choosing the ''CMakeLists.txt'' of your project, eg. //workingDirectory/eeros/CMakeLists.txt// or //workingDirectory/helloWorld/CMakeLists.txt//.+Using an integrated development environment for developing EEROS applications is highly recommended. You have all the features such as source code lookup, code completion or automatic compiling. We recommend to use an integrated development environment such as [[https://www.kdevelop.org/]] or [[https://code.visualstudio.com/]]. Get the program with e.g. 
 +<code> 
 +$ apt-get install kdevelop 
 +</code> 
 + 
 +If you have previously built your application manually or with the aid of the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]], you can import the configuration into KDevelop as follows: 
 +  - Import the project by choosing the ''CMakeLists.txt'' of your project, eg. //workingDirectory/hello/CMakeLists.txt// or //workingDirectory/simple-motor-control/CMakeLists.txt//.
   - This will automatically open the project configuration panel.   - This will automatically open the project configuration panel.
-  - Choose the build directory of the previously built application as your build directory, e.g. //workingDirectory/build-x86/eeros// or //workingDirectory/build-x86/helloWorld//+  - Choose the build directory of the previously built application as your build directory, e.g. //workingDirectory/build-x86/hello// or //workingDirectory/build-x86/simple-motor-control// {{ :getting_started:kdev-build-config.png?600 |}}
   - Leave the entries for install directory, build type, and extra arguments empty. These settings will be fetched from the existing CMake configuration in your build directory.   - Leave the entries for install directory, build type, and extra arguments empty. These settings will be fetched from the existing CMake configuration in your build directory.
   - Click ''Ok''   - Click ''Ok''
Line 10: Line 16:
 ===== No Existing Build Configuration ===== ===== No Existing Build Configuration =====
 If there is no existing build configuration yet, do as follows If there is no existing build configuration yet, do as follows
-  - Import the project by choosing the ''CMakeLists.txt'' of your project, eg. //workingDirectory/eeros/CMakeLists.txt// or //workingDirectory/helloWorld/CMakeLists.txt//.+  - Import the project by choosing the ''CMakeLists.txt'' of your project, eg. //workingDirectory/hello/CMakeLists.txt// or //workingDirectory/simple-motor-control/CMakeLists.txt//.
   - This will automatically open the project configuration panel.   - This will automatically open the project configuration panel.
-  - Choose a meaningful build directory, e.g. //workingDirectory/build-x86/eeros// or //workingDirectory/build-x86/helloWorld//.+  - Choose a meaningful build directory, e.g. //workingDirectory/build-x86/hello// or //workingDirectory/build-x86/simple-motor-control//.
   - Enter an entry for the install directory, e.g. //workingDirectory/install-x86//.   - Enter an entry for the install directory, e.g. //workingDirectory/install-x86//.
   - Choose a build type.   - Choose a build type.
getting_started/kdevelop.txt · Last modified: 2021/04/01 08:25 by ursgraf