1lazbuild(1)                Lazarus Projects Builder                lazbuild(1)
2
3
4

NAME

6       lazbuild - The Lazarus project and package build program.
7
8

SYNOPSIS

10       lazbuild [options] filename...
11
12

DESCRIPTION

14       lazbuild  builds  a  Lazarus  project  or package. It compiles projects
15       (.lpi) and  packages  (.lpk).  It  checks  and  automatically  compiles
16       required packages.
17
18

USAGE

20       lazbuild  is a command-line tool that builds Lazarus projects and pack‐
21       ages. It checks recursively all dependencies and compiles needed  pack‐
22       ages first. It uses the Free Pascal compiler (fpc) to compile.
23
24

OPTIONS

26       -h, --help
27              Displays a short help message.
28
29       -B, --build-all
30              build  all  files  of  project/package.  Has  the same effect as
31              option -B of fpc(1).
32
33       -r, --recursive
34              apply build flags (-B) to dependencies too.
35
36       -d, --skip-dependencies
37              do not compile dependencies
38
39       --build-ide=<options>
40              Compile the IDE (i.e.  the  lazarus  executable).  The  list  of
41              installation  packages  is  read  from the config directory. The
42              <options> can be empty.
43
44       -v, --version
45              show version and exit
46
47        --pcp=<path>, --primary-config-path=<path>
48              primary config directory, where Lazarus stores its config files.
49              Default is /home/mazen/.lazarus
50
51       --scp=<path>, --secondary-config-path=<path>
52              secondary  config  directory,  where Lazarus searches for config
53              template files. Default is /etc/lazarus
54
55       --os=<operating-system>, --operating-system=<operating-system>
56              override the project operating system. e.g. win32 or linux.
57
58       --ws=<widgetset>, --widgetset=<widgetset>
59              override the project widgetset. e.g. gtk,  gtk2,  qt,  win32  or
60              carbon.
61
62       --cpu=<cpu>
63              override the project cpu. e.g. i386, x86_64, powerpc, powerpc_64
64              etc.
65
66       --build-mode=<project build mode>, --bm=<project build mode>
67              override the project build mode.
68
69       --compiler=<ppcXXX>
70              override the default compiler. e.g. ppc386, ppcx64, ppcppc etc.
71
72       --language=<lang>
73              Override language. For example --language=de. For  possible val‐
74              ues see files in the lazarus languages directory.
75
76

.lpi and .lpk files

78       The  .lpi  and  .lpk files are best created and edited with the Lazarus
79       IDE.  The files are in xml. There is no reason to edit  them  manually,
80       except for very rare cases like renaming hundreds of files.
81
82

SEE ALSO

84              lazarus-ide(1) startlazarus(1) fpc(1) ld(1) fpcmake(1) make(1)
85
86

Websites

88              http://www.lazarus.freepascal.org
89
90
91
92
93Lazarus                          19 April 2008                     lazbuild(1)
Impressum