Delphi Compiler Switches Rating: 4,9/5 4483 votes

Author links: Buy Website Traffic at Buywebsitetrafficexperts.com Buy Proxies at: Delphi Programming © Neil Moffatt All rights reserved. Home Page Home Page.

  1. Delphi Compiler Directives
  2. Delphi Versions
Delphi Compiler Switches

Delphi Compiler Directives

This is not difficult to do. I have a standard Delphi 5 install on my machine here, and when I open a command prompt, navigate to the $(DELPHI) Demos Threads directory and enter dcc32.exe thrddemo.dpr the application is built on the command line. For your own project you may need to add some switches to include file directories, output directories, defines or similar things. Running dcc32.exe without parameters gives a list of switches and parameters. It is all described in the documentation, as well. For repeatability you should create a batch file or a regular Makefile.

Delphi Versions

Note that both the project cfg file and the common dcc32.cfg in the Delphi directory contain important settings. For some information about how they affect the build see for example. You can build everything using this command line: 'C: Program Files Borland Delphi7 Bin DCC32.exe' -Q -B your-project.dpr Put this line in a.bat file so you don't need to type it always. Take a look at the command line options running this: 'C: Program Files Borland Delphi7 Bin DCC32.exe' -h BTW: -Q is quiet compile and -B will rebuild everything. If you want a quickier compilation don't use -B. It will use all the options in your-project.cfg file.

Comments are closed.