RAD Studio
ContentsIndex
PreviousUpNext
Compiling Applications

When you have finished designing your application interface on the form and writing additional code so it does what you want, you can compile the project from the IDE or from the command line. 

All projects have as a target a single distributable executable file. You can view or test your application at various stages of development by compiling, building, or running it:

  • When you compile, only units that have changed since the last compile are recompiled.
  • When you build, all units in the project are compiled, regardless of whether they have changed since the last compile. This technique is useful when you are unsure of exactly which files have or have not been changed, or when you simply want to ensure that all files are current and synchronized. It's also important to build when you"ve changed global compiler directives to ensure that all code compiles in the proper state. You can also test the validity of your source code without attempting to compile the project.
  • When you run, you compile and then execute your application. If you modified the source code since the last compilation, the compiler recompiles the changed files and any files that depend on them.
If you have grouped several projects together, you can compile or build all projects in a single project group at once. Choose ProjectCompile All Projects, or ProjectBuild All Projects with the project group selected in the Project Manager.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!