Configuring C and C++ Build Tools
See Also
You can use the Options window to configure default build tools for your
C and C++ projects.
To configure C and C++ build tools:
- Choose Tools > Options.
-
Click C/C++ in the left pane of the window.
- In the right pane, click the Build Tools tab.
-
Modify the properties as desired.
You can set the following properties:
- Current Path. The path list used by the IDE to locate
the build tools required by your projects. You can add or remove paths from the list, or
reorder the list by moving paths up or down.
- Make Command. The make command to use when building
projects. The default command is the first make command found in the
current path. If you change the command, the current path is searched for
the new command. Clicking Version displays the version of the make
command.
- Gdb Command. The gbd command to use when debugging projects.
The default command is the first gdb command found in the current path.
If you change the command, the current path is searched for
the new command. Clicking Version displays the version of the make
command.
- Compiler Collection. The compiler collection to use for
building projects. The drop-down list includes a compiler collection for
each directory in the current path that ocntains compilers.
- C Compiler. The C compiler to use for building projects.
The default compiler is the first one found in the selected compiler
collection. You can select a compiler from the drop-down list, or select
Add from the list to add another compiler from the same directory.
- C++ Compiler. The C++ compiler to use for building projects.
The default compiler is the first one found in the selected compiler
collection. You can select a compiler from the drop-down list, or select
Add from the list to add another compiler from the same directory.
- Required Tools. The tools required to build projects.
Legal Notices