OBUILD-SIMPLE(1)
π¦ OBUILD-SIMPLE(1) π¦
okay bestie, welcome to obuild-simple β the simple package build system for OCaml. yes, that's the whole manual name, and yes, it's giving "small but mighty." let's get into it π
β¨ NAME β¨
obuild-simple β simple package build system for OCaml π«Ά
π DESCRIPTION π
the vibe is minimal. you hand it a file, it builds a file. here's the whole usage situation:
usage: obuild-simple [opts] main.ml
that's it, that's the dream π. and here are all the [opts] you can sprinkle in, no cap:
π OPTIONS π
--debugβ activate build system debug π (turn on the little guy that tells you what's happening inside)--nativeβ build native executable π₯--bytecodeβ build bytecode executable π-pβ build with profiling π-gβ build with debugging π--srcdirβ where to find the ML sources (default: current directory) ποΈ--cdirβ where to find the C sources (default: current directory) ποΈ--cincludeβ append one path to the C include files β--clibpathβ append one path to the list of path β--clibβ append one system library π--cfileβ append one c file π--cpkgβ append one c pckage π¦ (yes it literally sayspckagein the manual and honestly? iconic, we stan a typo π₯°)--depβ append one dependency π--deps x,y,zβ append dependencies x, y and z πππ (comma-separated, bestie, don't forget the commas)--dependsβ append one dependency π (yes,--depand--dependsboth exist, they said "why choose" π )-helpβ Display this list of options π--helpβ Display this list of options π (same energy, different dashes, we love options)
pro tip from your girl:--helpand-helpdo the exact same thing, so whichever dash count your fingers land on, you're safe π
πΈ SEE YOU SOON πΈ
that's the whole page, bestie, no notes π
and for the credits moment β this little manual is from obuild-simple, dated May 2018, and it lives under the OBUILD-SIMPLE(1) manual section. slay, go build something πβ¨π¦
π¦ where this page comes from
- debian bookworm: ocaml-obuild 0.1.10-3+b3 Β· BSD-2-Clause
- debian trixie: ocaml-obuild 0.1.11-2+b2 Β· BSD-2-Clause
- ubuntu jammy: ocaml-obuild 0.1.10-3build1 Β· BSD-2-Clause
- ubuntu noble: ocaml-obuild 0.1.11-1 Β· BSD-2-Clause
- ubuntu questing: ocaml-obuild 0.1.11-2build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms