Configuring Project Options for C/C++/Fortran Projects
See Also
You can use the Options window to configure some general project options for your
C, C++, and Fortran projects. These options affect all your C/C++/Fortan projects,
and are mostly related to makefiles and behavior related to building and running
your projects.
To configure general project options:
-
Choose Tools > Options.
-
Click C/C++ in the top pane of the window.
-
Click the Project Options tab.
-
Modify the properties as desired.
You can set the following properties:
-
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.
-
Show binary files in Projects view. If selected, the Projects view shows all files
in a directory tree, including binary objects. This option is most relevant to projects
created with existing sources, which might place sources and binaries in the same location.
Deselect this option to more easily see your C/C++ source files and header files.
-
Show profiler indicators during run (new projects only). If selected, profiler tools
such as CPU Usage and Memory Usage are set up to run by default when newly created projects
are run. The tools that are shown are determined by the selected in Tools > Profiler Tools.
-
Show warning dialog about missing makefiles due to mismatched platforms. If
selected, the IDE will warn you if you attempt to run a project that was created on a
platform that is not the same as your current development host's platform. If you use
project configurations to build on multiple platforms, you might want to disable the
missing makefiles warning.
Legal Notices