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

From Free Pascal wiki
Jump to navigationJump to search
Line 14: Line 14:
 
=== Working directory ===
 
=== Working directory ===
  
Before building, change to this directory.
+
Before building, change to this directory. Relative paths in the build command will then be relative to this directory.
  
 
=== Build Command ===
 
=== Build Command ===
Line 21: Line 21:
 
   $(CompPath) $(EdFile)
 
   $(CompPath) $(EdFile)
  
See the macros
+
=== Scan for FPC messages ===
 +
 
 +
Parse output for FPC errors and hints. The IDE will jump to errors.
 +
 
 +
=== Scan for Make messages ===
 +
 
 +
Parse output for 'Make' errors and hints. The IDE will jump to errors.
 +
 
 
== Run ==
 
== Run ==
 +
 +
=== Always build before run ===
 +
 +
If checked, when the build of the left page will be invoked before running.
 +
 +
=== Working directory ===
 +
 +
Before running, change to this directory. Relative paths in the run command will then be relative to this directory.
 +
 +
=== Run Command ===
 +
 +
Provide the command to call to run file. The default is:
 +
  $MakeExe($(EdFile))

Revision as of 14:14, 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. Relative paths in the build command will then be relative to this directory.

Build Command

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

 $(CompPath) $(EdFile)

Scan for FPC messages

Parse output for FPC errors and hints. The IDE will jump to errors.

Scan for Make messages

Parse output for 'Make' errors and hints. The IDE will jump to errors.

Run

Always build before run

If checked, when the build of the left page will be invoked before running.

Working directory

Before running, change to this directory. Relative paths in the run command will then be relative to this directory.

Run Command

Provide the command to call to run file. The default is:

 $MakeExe($(EdFile))