Difference between revisions of "IDE Window: Configure Build file"

From Lazarus wiki
Jump to navigationJump to search
 
Line 1: Line 1:
ToDo
+
Normally 'builing' and 'running' menu items and shortcuts invokes building (running) the current project.
 +
 
 +
With this dialog you can override this behaviour for each file. This is useful, if you created a small test program or a sub project. Then you can compile them without changing the project.
 +
These settings are stored with the project (.lpi file). They are not global settings.
 +
 
 +
== Options ==
 +
 
 +
When this file is active in the source editor ...
 +
 
 +
To override the behaviour for run and/or build by checking the appropriate checkbox.
 +
 
 +
== Build ==
 +
 
 +
=== Working directory ===
 +
 
 +
Before building, change to this directory.
 +
 
 +
=== Build Command ===
 +
 
 +
Provide the command to call for building the file. The default is:
 +
  $(CompPath) $(EdFile)
 +
 
 +
See the macros
 +
== Run ==

Revision as of 14:08, 26 June 2006

Normally 'builing' and 'running' menu items and shortcuts invokes building (running) the current project.

With this dialog you can override this behaviour for each file. This is useful, if you created a small test program or a sub project. Then you can compile them without changing the project. These settings are stored with the project (.lpi file). They are not global settings.

Options

When this file is active in the source editor ...

To override the behaviour for run and/or build by checking the appropriate checkbox.

Build

Working directory

Before building, change to this directory.

Build Command

Provide the command to call for building the file. The default is:

 $(CompPath) $(EdFile)

See the macros

Run