RAD Studio (Common)
ContentsIndex
PreviousUpNext
C++ Compiler Directories and Conditionals

ProjectOptionsC++ CompilerDirectories and Conditionals 

Use this dialog box to set C++ Compiler directories and conditionals options.

Build Configuration options 
Description 
Build Configuration 
Displays the name of the current build configuration associated with the options on this page. There are three default build configurations: Base, Debug, and Release.  
Apply Options... 
Displays the Apply Option Set dialog box to apply the options in a named option set to the current configuration.  

 

Common items 
Description 
Value from <parent configuration or option set> 
Indicates the value in the parent build configuration or referenced option set. If you change this value here, the change will potentially affect the Base configuration (that is, if you click OK on the Project->Options dialog and subsequently build your project).  
Inherit 
Indicates whether inheritance (from a parent configuration) is on or off for the option. To control inheritance, click the option, and then open the associated generic list dialog box by clicking the pop-up Ellipsis that appears. The Inherit values from parent configuration checkbox controls whether your current build configuration inherits the values listed in the lower box of the generic list dialog box.  
<any item in red print> 
Indicates that there are secondary options available below the option in red print. To view the secondary options, click the + sign in front of the option in red.  
<any item in boldface print> 
Indicates that the value of this option has been changed from the value in the parent configuration or referenced option set.  
Down Arrow Pop-Up Button 
Appears after you click an option that has a set of available choices (such as True, False). Click Down Arron to display and choose the value you want from the available choices.  
Ellipsis Pop-Up Button 
Appears after you click an option whose value is either of the following:
  • An ordered list that you enter and then arrange in the desired order, such as a list of defines or search paths. Clicking Ellipsis invokes the generic ordered list dialog box.
  • A single filename, directory or folder name. Clicking Ellipsis invokes the standard Open file or Browse for folder dialog box.
 

 

Directories and conditionals options 
Description 
Conditional defines (-D) 
Defines the specified identifier name to the null string. -Dname=string defines name to string. In this assignment, string cannot contain spaces or tabs. You can also define multiple #define options on the command line using either of the following methods:
Include multiple definitions after a single -D option by separating each define with a semicolon (;) and assigning values with an equal sign (=). For example: BCC32.EXE -Dxxx;yyy=1;zzz=NO MYFILE.C
Include multiple -D options, separating each with a space. For example: BCC32.EXE -Dxxx -Dyyy=1 -Dzzz=NO MYFILE.C
See the description of the Ellipsis pop-up button, above.  
Include file search path (-I) 
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>). See the description of the Ellipsis pop-up button, above.  
Object file output directory (-n) 
Sets output directory to specified path. See the description of the Ellipsis pop-up button, above.  
Undefine any previous definitions of name (-Uname)  
Removes the previous definition of the identifier name. See the description of the Ellipsis pop-up button, above.  
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 are Windows Vista, Windows Server 2003 Service Pack 1, Windows Server 2003, Windows XP, Windows XP Service Pack 1, Windows XP Service Pack 2, and Windows 2000 Service Pack 4.
Default = “Not specified”
See the description of the Down Arrow pop-up button, above.  

 

General option 
Description 
Default 
Saves the current settings as the default for each new project.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!