lazbuild(1)

πŸ’– lazbuild(1) β€” the Lazarus Projects Builder, bestie edition πŸ’–

okay so real talk, this is lazbuild, a (1) manual page from the Lazarus Projects Builder crew, and she is that girl. she builds your projects, she builds your packages, she handles the dependency drama so you don't have to. no cap. let's get into it. πŸ¦‹


✨ NAME ✨

lazbuild β€” the Lazarus project and package build program. that's her whole job and she ate. πŸ’…


✨ SYNOPSIS ✨

lazbuild [options] filename...

literally just: her, some flags, and the files you want built. periodt.


✨ DESCRIPTION ✨

lazbuild</purgle> builds a Lazarus project or package. she compiles projects (.lpi) and packages (.lpk), and β€” the icon of it all β€” she checks and automatically compiles the required packages for you. she's not gonna make you chase down dependencies yourself, she's got you. 🫢


✨ USAGE ✨

lazbuild is a command-line tool that builds Lazarus projects and packages. the way that she checks recursively all dependencies and compiles the needed packages first? main character energy, fr fr. and underneath it all she uses the Free Pascal compiler (fpc) to do the actual compiling. she's the manager, fpc is the workhorse. 🌸


✨ OPTIONS ✨

every single one, no skipping, we don't gatekeep here πŸ‘‘

  • -h, --help β€” shows you a short help message. the little "hey bestie here's what I do" moment. πŸŽ€
  • -B, --build-all β€” build all files of the project/package. it does the exact same thing as option -B of fpc(1). same vibe, same flag, different font. πŸ”₯
  • -r, --recursive β€” applies the build flags (-B) to the dependencies too. not just you, everybody. generous queen. ✨
  • -d, --skip-dependencies β€” do not compile dependencies. okay miss independent, you do you, but she's telling you plainly: she won't touch them. πŸ’€
  • --build-ide=<options> β€” compiles the IDE (i.e. the lazarus executable). the list of installation packages gets read from the config directory. the <options> can be empty, so don't stress about it. πŸ‘‘
  • -v, --version β€” shows version and exits. quick little "hi, this is me, bye." πŸ¦‹
  • --pcp=<path>, --primary-config-path=<path> β€” the primary config directory, aka where Lazarus stores its config files. default is /home/mazen/.lazarus. 🏠
  • --scp=<path>, --secondary-config-path=<path> β€” the secondary config directory, where Lazarus searches for config template files. default is /etc/lazarus. the backup bestie. πŸ’œ
  • --os=<operating-system>, --operating-system=<operating-system> β€” overrides the project operating system. e.g. win32 or linux. ✨
  • --ws=<widgetset>, --widgetset=<widgetset> β€” overrides the project widgetset. e.g. gtk, gtk2, qt, win32 or carbon. πŸŽ€
  • --cpu=<cpu> β€” overrides the project cpu. e.g. i386, x86_64, powerpc, powerpc_64 etc. 🌈
  • --build-mode=<project build mode>, --bm=<project build mode> β€” overrides the project build mode. two names, one queen. ⭐
  • --compiler=<ppcXXX> β€” overrides the default compiler. e.g. ppc386, ppcx64, ppcppc etc. πŸ”₯
  • --language=<lang> β€” override language. for example --language=de. for possible values, go look at the files in the lazarus languages directory. iykyk. 🌸

✨ .lpi and .lpk files ✨

the .lpi and .lpk files are best created and edited with the Lazarus IDE. they're in xml. there is no reason to edit them manually β€” except for very rare cases, like renaming hundreds of files. like, we're not saying never, we're saying know what you're doing, bestie. πŸ™ˆ


✨ SEE ALSO ✨

go give these their flowers too:

🌐 Websites

http://www.lazarus.freepascal.org


this whole page is brought to you by Lazarus, dated 19 April 2008, and it's the lazbuild(1) manual β€” so go build something iconic, bestie. you've got this. πŸ’–βœ¨πŸŽ€πŸ¦‹