C/C++ Project Properties Dialog Box: Compiler

See Also 

The C or C++ Compiler panel lets you set compiler options for your C or C++ Application project, Library project, or file. The options shown in the panel are dependent on the tool collection that is in effect. Changes you make apply only to the project configuration that is selected at the top of the dialog box.

Selections in this dialog determine the compiler command options that will be used when the project is compiled. You can see the command line options that are in effect when you make selections in this dialog box by clicking the button next to the Additional Options field.

Include Directories. Type the absolute or relative path to the directories containing headers for your project, or click the button to browse to the directories and add them. On the file browser dialog box, you can specify Absolute or Relative path.

Preprocessor Definitions. Add definitions for macros used by the project. Click the text field or the button to open the Preprocessor Definitions dialog box to add definitions.

Development Mode. Select a mode to determine the set of compiler optimizations that will be used when the project is compiled.

Warning Level. Select the level of detail for warnings issued by the compiler.

Architecture. Select 32-bit or 64-bit architecture for the binary.

Strip Symbols. Select the checkbox to remove symbol tables from the binary.

Multithreading Level. Select the type of multithreading, if any, used by the project.

Library Level. Select an option to specify which standard libraries are included.

Standards Evolution. If your project is written to older C/C++ standards, or relies on newer non-ISO-compliant options, you might need to select a standards option.

Language Extensions. If your project strictly conforms to ISO C standards without K&R C compatibility extensions, you should select None.

Tool. The command to run the compiler.

Additional Options. Type any other compiler command line options in the text field, or click the button to open a dialog box to see the options that are currently in effect. In the dialog box, you can type more flags in the additional option in the Additional Options panel.

See also
C/C++ Project Properties Dialog Box:
      Build
      General
      Linker
      Run
      Profile
      Debug
      Packaging

Legal Notices