Important: This HowTo shows the possibility of building the source SDK (this will also work for all examples even in EVAL packages).
It is possible to create Eclipse Project files for Windows as well as for Linux. This can be done in two different ways:
Using the CMake-GUI:
- To create Eclipse Project files for the SDK, start up the cmake-gui.exe for Windows or the CMake-GUI ccmake for Linux. In the CMake-GUI locate the src folder of the SDK and set a folder where to create the Eclipse Project files.
- Press Configure and set Eclipse CDT4 - Unix Makefiles as generator for this project. This will create the folder you have chosen before and will show you all available options of the SDKs master CMakeLists.txt.
- Set all options as desired and do not forget to set also the install prefix.
- Press Configure again to adopt the options.
- Press Generate to generate the Eclipse Project files.
- Start your Windows Command Prompt or your Linux Shell, navigate into the installed/extracted folder of the SDK and create a temporary folder (e.g. bld) to store the created Eclipse Project files.
- Step into this folder and create the Eclipse Project files with
Debug:Release:Code: Select all
cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE=Debug ../src
Code: Select all
cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE=Release ../src