C++ Compiler Directories and Conditionals
Go Up to C++ Compiler
Project > Options > Building > C++ Compiler > Directories and Conditionals
Use this dialog box to set C++ compiler directories and conditionals options.
Options | Description |
---|---|
Target, Apply, Save |
See Target Options. |
Common items |
Directories and Conditionals Options | Description | Compiler switches | |||||
---|---|---|---|---|---|---|---|
bcc32 | bcc32c | bcc64 | bcc64x | bcciosarm64 | bccaarm | ||
Add the Project Dir to Include the path |
For convenience, adds the project directory to the #include path of the unit.cpp file. For example: #include "MyProjectDir.h"
Default = False For more information, see #include. |
Platform not supported |
-iquote |
-iquote |
-iquote |
Platform not supported |
Platform not supported |
Conditional defines |
Defines a list of macros. A macro may be:
You may use in your code the macros that you define in this option. To specify conditional defines on the command line, use -Dname or -Dname=string. When you assign name a string, the string cannot contain spaces or tabs. You can also define multiple #define options on the command line using either of the following methods:
See the description of the |
-D |
-D |
-D |
-D |
-D |
-D |
Framework root directories |
List of directories to add to the framework include path. |
Platform not supported |
Platform not supported |
Platform not supported |
Platform not supported |
-F |
Platform not supported |
Include file search path |
Specifies the drive and/or directories that contain program include files. Standard include files are those you specify in angle brackets (<>) in an #include statement (for example, #include <myfile>). For more information, see: The |
-I |
-I |
-I |
-I |
-I |
-I |
Object file output directory |
Sets output directory to specified path. See the description of the This option determines the output folder of the following files: |
-n |
-n |
-n |
-n |
-n |
-n |
System include search path |
Add specified directory to the C system include search path. |
-I |
-isystem |
-isystem |
-isystem |
-isystem |
-isystem |
System include search path; absolute paths are relative to -isysroot |
Add specified directory to the C system include search path. Absolute paths are read as relative to the SDK path. |
Platform not supported |
Platform not supported |
Platform not supported |
Platform not
supported |
-iwithsysroot |
-iwithsysroot |
Undefine any previous definitions of name |
Removes the previous definition of the identifier name. See the description of the |
-U |
-U |
-U |
-U |
-U |
-U |
Windows header file version defines |
Identifies the conditional defines targeting the highest version of Windows API header files to use. Choose an OS version from the drop-down list. See this Using the Windows Header for more information. The possible values include (but are not necessarily limited to) the following:
Default = "Not specified" Note: Windows Vista or earlier is not supported.
|
Platform not supported |
Platform not supported |
Platform not supported |