Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
dev:eclipse [2021/04/02 01:37] tedfelix |
dev:eclipse [2022/05/28 02:26] tedfelix old revision restored (2021/04/02 21:19) |
===== Set Up Rosegarden Source Under Eclipse ===== | ===== Set Up Rosegarden Source Under Eclipse ===== |
| |
//Note: These instructions were developed using Eclipse 2019-09 (4.13.0).// | //Note: These instructions were developed using Eclipse 2021-03 (4.19.0).// |
| |
Eclipse prefers a directory structure with a top level for the workspace and a lower level for the project. Something like this: | Eclipse prefers a directory structure with a top level for the workspace and a lower level for the project. Something like this: |
$ mkdir rosegarden-workspace | $ mkdir rosegarden-workspace |
$ mv rosegarden-git rosegarden-workspace | $ mv rosegarden-git rosegarden-workspace |
| |
| Unfortunately, that makes a mess of cmake, so we'll need to delete any build directory and re-run cmake... |
| |
| $ cd rosegarden-workspace/rosegarden-git |
| $ rm -rf build |
| $ mkdir build |
| $ cd build |
| $ cmake .. -DCMAKE_BUILD_TYPE=Debug |
| |
And now we are ready to create an Eclipse workspace and project around this directory structure. | And now we are ready to create an Eclipse workspace and project around this directory structure. |
| |
Launch Eclipse. It will first ask for the location of your workspace. Give it the rosegarden-workspace directory that we just created. Since this is a new workspace, you'll get the Eclipse welcome screen. In the upper right is a button for the "Workbench". Click it. | Launch Eclipse. It will first ask for the location of your workspace. Give it the rosegarden-workspace directory that we just created. Since this is a new workspace, you'll get the Eclipse welcome screen. In the upper right is a button that says "Hide" (formerly "Workbench"). Click it. |
| |
Go to File > New > Makefile Project with Existing Code. In the "Project Name" field type rosegarden-git. For the "Existing Code Location" provide the path to the rosegarden-git directory. In the Toolchain list, select "Linux GCC". Click Finish. | Go to File > New > Makefile Project with Existing Code. In the "Project Name" field type rosegarden-git. For the "Existing Code Location" provide the path to the rosegarden-git directory. In the Toolchain list, select "Linux GCC". Click Finish. |