Before you can build a remote C/C++ project, ensure you have properly set up your build command (see Creating a makefile).
By default, projects in the workspace are build automatically when any source file is saved. You can enable this for your remote C/C++ project by configuring the Remote Make Builder in project properties.
To enable automatic builds:
You can choose to change the default build behavior for your project. To configure manual builds, select Project > Build automatically.
This will toggle the option. If you now select Project, you will see that the Build Automatically setting is inactive or unchecked.
You can use the same toggling technique to reset the default to build automatically.
Regardless of the configured build default, you can manually build a project or workspace at any time.
Use CTRL + B to build the entire workspace.
You can build your project using one of the following two methods:
You can view build output in the Console View:
You can view build errors in the Problems View.
To fix a build error, double click on the error in the Problems view. The editor opens and the line containing the error is highlighted. Fix the error, save the change, and re-build the project.
You can run the clean command defined in your project's makefile either by selecting Project > Clean:
or by selecting the project in the Project Explorer, right-clicking, and selecting Clean Project:
© Copyright IBM Corporation 2009, 2010, 2013. All Rights Reserved.