RAD Studio (Common)
ContentsIndex
PreviousUpNext
Creating Build Events

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.

To create a list of build events

  1. Choose ProjectOptions Build Events.
  2. Click Commands in the build phase to which you want to add events ( Pre-Build, Pre-Link, or Post-Build).
  3. Enter the build commands, one command per line, and press Return after entering each command. Commands consist of any valid DOS command, such as: copy $(<OutputPath>) c:\Built\$(<OutputName>)
  4. To display the Events List dialog box to help you enter commands, click Edit. In the Commands box on the Events List dialog box, enter build commands. You can edit the commands in this box.
  5. To add a predefined macro on the Events List dialog box, scroll to the desired macro in the Macros list and double-click the macro name.
  6. After you have finished entering commands in the Events List dialog box, click OK.
  7. After you have finished entering commands for all the build phases, click OK.
  8. The commands and their results are displayed in the Output pane of the Messages window.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!