Options Window: C/C++
See Also
The C/C++ panel of the Options window lets you configure build tools, project
settings, and code assistance settings for your C and C++ projects. You can
access this panel by choosing Tools > Options and clicking the C/C++
category.
Build Tools tab
- 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.
Projects Tab
- Default Platform. The default platform to use when
creating new projects. You do not usually have to change this property.
- Make Options. Global options for the make command.
- File Path Mode. The mode for storing file paths in a project.
Always Relative mode stores paths as relative to project root.
Always Absolute mode stores paths as absolute paths. Auto mode
stores paths as relative to project root if inside project,
othervise as absolute path.
- Save All Modified Files Before Running Make. If selected,
saves all unsaved files in the IDE before running make. It is
recommended to leave this property selected because modifications
to files in the IDE are not recognized by make unless they are
first saved to disk.
- Reuse Output Tabs from Finished Processes. If selected,
writes make output to a single Output window tab, deleting the
output from the previous process. If not selected, opens a new tab
for each make process.
- Enable dependency checking in generated makefiles. Add
make state statements to the makefile.
Code Assistance Tab
Select the appropriate compiler tab. Modify the settings for include files
and macro definitions that are used by the built-in parser.
Legal Notices