RAD Studio (Common)
ContentsIndex
PreviousUpNext
Compiling and Building Procedures

This section provides how-to information on building packages and localizing applications.

Name 
Description 
You can use either the Configuration Manager or the Project Manager to activate a build configuration. 
You can create packages in RAD Studio and include them in your projects. 
C++Builder supports compiling design-time packages that contain Delphi source files. However, if any of those Delphi sources make reference to IDE-supplied design-time units such as DesignIntf, DesignEditors, and ToolsAPI that exist in DesignIDE100.bpl, you must take steps to ensure that the references can be resolved by the C++Builder package. 
You can use the build events dialog to create a list of events that occur in various stages of the build process. Depending on the type of project, you can create events for the pre-build, pre-link, and post-build stages. You add events for any of these stages in exactly the same way. 
Use the following procedures to create and modify build configurations. 
The IDE uses Microsoft's MSBuild engine to build a project. You can build projects without knowing anything about MSBuild; the IDE handles all the details for you. However, you can also directly build the project using MSBuild command-line syntax as described here. When you build a project, the results of the build appear in the Output pane of the Messages window. If you have entered build events, the build output pane displays the commands you specified and their results.
MSBuild command-line syntax has the form:
MSBuild <projectname> [/t:<target name>][/p:config=<configuration_name>] 
 
If you have installed RAD Studio with only one or two computer languages (Delphi, C#, C++), and you later decide to add a language that was not originally installed, follow the steps below. 
You can preview most refactoring operations in the Refactoring pane. Some refactorings occur immediately and allow no preview. You might want to use the preview feature when you first begin to perform refactoring operations. The preview shows you how the refactoring engine evaluates and applies refactoring operations to various types of symbols and other refactoring targets. Previewing is set as the default behavior. When you preview a refactoring operation, the engine gathers refactoring information in a background thread and fills in the information as the information is collected.
If you apply a refactoring operation right away, it is performed in... more 
You can rename symbols if the original declaration symbol is in your project, or if a project depended upon by your project contains the symbol and is in the same open project group. You can also rename error symbols. 
This topic contains procedures for creating, applying, editing, and deleting option sets using the ProjectOptions dialog box or the Project Manager
This topic describes various semantic code constructs you should review in your existing code to ensure that your applications are compatible with the UnicodeString type. Because Char now equals WideChar, and string equals UnicodeString, previous assumptions about the size in bytes of a character array or string might now be incorrect.
For general information on Unicode, see Unicode in RAD Studio
You can enable the display of Unicode characters in the console window. This is important if your directory or file names contain Unicode characters. You need to select a font that can display Unicode characters, such as Lucida Console, and set the code page to 65001, as follows: 
When you add a .lib or .obj file to your project, C++ attempts by default to locate the file by using the library search path (set on the ProjectOptionsDirectories and Conditionals dialog box). You can use the Link by Name Only context-menu command on the Project Manager to specify that C++ locate the file by the file's own explicit file path. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!