Jul. 15, 2018
The following list shows the procedure to create a project of QMI sort in Eclipse.
Click a "New" button at the left top corner of the Eclipse toolbar, and select "C Project" as follows.
Type a project name, select "Linux GCC", and click "Next" button.
Click "Advanced settings..." button.
Choose a configuration to "[ All configurations ]", and select Language standard to "ISO C99".
Add symbols "_POSIX_C_SOURCE=199309" and "RUSAGE" in "[ All configurations ]" as follows.
Change the configuration to "Debug" and add a symbol "DEBUG".
Return the configuration to "[ All configurations ]", and add a library "m".
Choose the "Indexer" under "C/C++ General" in the left pane,
and check the "Enable indexer" and "Use active build configuration".
Click "OK" button and "Finish" button.
Note : If you want to change some settings in a project properties, select a project in the Project Explorer pane and press Alt + Enter keys.
Press Ctrl + Alt + t to open a terminal emulator.
$ cd workspace/Sort
$ git clone https://github.com/leorge/qmisort.git src
Click Sort project in a Project Explorer pane of the Eclipse, and hit F5 key to show the src sub-directory.
Click Build button on the tool bar, and show a pull down menu and click another build.
Run the built programs in the launched terminal emulator.
$ Debug/Sort -?
$ Release/Sort -?
[Up] QMI sort
[Prev.] Install Eclipse CDT
[Next] Debug (Eclipse)