RAD Studio (Common)
ContentsIndex
PreviousUpNext
C++ Compiler Paths And Defines

ProjectOptionsC++ CompilerPaths and Defines 

Use this dialog box to set C++ Compiler Paths and Defines options.

Build Configuration options 
Description 
Build Configuration 
Displays the active build configuration. Use the drop-down menu to select another build configuration.  
Save As... 
Displays the Save As dialog box to save the current configuration's options to a file that can be loaded as a named option set.  
Load... 
Displays the Apply Option Set dialog box to apply the options in a named option set to the current configuration.  

 

Paths and Defines options 
Description 
Include 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>). Click [...] to display a dialog allowing you to edit a list of search paths. Check the Merge box to act as if the immediate ancestor's paths are merged into this list, though this list is not actually changed.  
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
Click [...] to display a dialog allowing you to edit a list of defines. Check the Merge box to act as if the immediate ancestor's defines are merged into this list, though this list is not actually changed.  
.obj output directory (-n) 
Sets output directory to specified path. Click [...] to browse for a folder.  
Windows version target 
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 default is “Not specified”.  

 

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