| [cdt-doc-dev] Doc updates |
|
Here are a few changes for the user docs. 1) Please remove the following step in the tutorial;
* This is no longer need as by default the make builder will not build on auto-build and now gives the user control of this on a per project basis. 2) In cdt_c_build_over.htm please remove the following; CleanDelete all the built components (i.e. .o, .so, .exe, and so on)
without building anything (i.e. make clean). Automatic buildBy default, the CDT automatically rebuilds every time you save a resource (e.g. file). Autobuild is useful if you have a few, small projects open. You may choose to disable this feature for larger projects. * same reason as #1.3) see attached page for auto build page changes. 4) see attached page for add make target changes. |
To turn off automatic build
Building
Customizing the C++ editor
By default, Standard Make projects will not automaticlly rebuild
every time you change a resource (Which is the default for other
project types, ie. Java). This is due to the nature of the make
builder, which is using an external utility to preform the actual
build, and is unable to pass the modified files to the
builder. Therefore complete project builds are performed, this may
perform well if you are working with a few, small open projects. But as
projects get larger they quickly become a problem.
To automatically build open projects
If you get the error message:
Exec error:Launching failed
This error message means that the CDT cannot locate the build command, usually make. Either your path is not set up correctly or you do not have make installed on your system.
A make target is an action called by the make utility to perform a customized build-related task. For example, many makefiles support a target named clean, which gets called as make clean. You can call your own target such as myMakeAction to be called as make myMakeAction. You can also use a make target to pass options such as CPULIST=x86, which causes the make utility to build only for x86. These options work only if they are already defined in the makefile.
If you have added your own make targets, you can configure the CDT to call them specifically.
To add a customized make target to the C/C++ Projects view context menu