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 | 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 |
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 pop-up button in Common Items on Project Options Pages |
-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 |
-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 pop-up button is described in Common Items on Project Options Pages. |
-I |
-I |
-I |
-I |
-I |
Object file output directory |
Sets output directory to specified path. See the description of the pop-up button in Common Items on Project Options Pages. This option determines the output folder of the following files: |
-n |
-n |
-n |
-n |
-n |
System include search path |
Add specified directory to the C system include search path. |
-I |
-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 |
-iwithsysroot |
-iwithsysroot |
Undefine any previous definitions of name |
Removes the previous definition of the identifier name. See the description of the pop-up button in Common Items on Project Options Pages. |
-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 http://msdn2.microsoft.com/en-us/library/aa383745.aspx 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 |