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
- Tool Collection. The tool collection list displays
the collections found on your system the first time you started
the IDE. The default
collection is listed in bold type.
- To add a collection to the list, click Add and specify the
base directory in the Add New Tool Set dialog box. The Tool Set
Family and Tool Set Name are filled in automatically. You can specify
a different name for the collection. If you change the family,
make sure that the family you specify is the correct family for the
collection or the compiler flags might not be valid.
- To remove a collection from the list, select the collection and
click Remove.
- To duplicate a collection, select the collection from the list
and modify the base directory, tool set family, or tool set name in
the dialog box.
- To make a collection the default, select the collection and
click Default.
- Base Directory. The base directory for compilers.
- C Compiler. The C compiler to use for building projects.
The default compiler is the first one found in the base directory. 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.
- Make Command. The make command to use for building
projects. The default command is the first one found in the
base directory. To select a different command from the base directory
or another directory, click the browse button and navigate to a different
command in the Select Tool dialog box.
- Debugger Command. The gdb command to use when debugging
projects. The default command is the first one found in the
base directory. To select a different command from the base directory
or another directory, click the browse button and navigate to a different
command in the Select Tool dialog box.
Project Options 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.
Formatting Style Tab
Select the language from the Language drop-down list and the
style from the Style Name list. Modify the style property settings.
Semantic Highlighting Tab
- Enable Mark Occurrences. If this option is selected, then
when you click on a class, function, or variable, all occurrences
of that class, function, or variable in the current file are
highlighted.
- Keep Marks. If this option is selected, highlighted classes,
functions, and variables remain highlighted.
- Highlight Macros. If this option selected, macros are highlighted.
- Differ System Macros from User Macros. If this option is selected,
system macros and user macros are highlighted such that you can differentiate between them.
Other Tab
Edit the lists of accepted file extensions for C source files,
C++ source files, and C and C++ header files.
See Also |
|
Using the Options Window
|
Legal Notices