man(1)

πŸ’– NAME πŸ’–

Code::Blocks β€” the open-source, cross-platform IDE, bestie. It's giving legendary. It's giving free. ✨


🌸 SYNOPSIS 🌸

codeblocks [-h] [-ns] [-d] [--prefix <str>] [-p <str>] [--profile <str>]
[--rebuild] [--build] [--target <str>] [--no-batch-window-close]
[--batch-build-notify] [filename(s)...]

✨ DESCRIPTION ✨

okay so codeblocks launches the Code::Blocks IDE πŸ’… that's it, that's the whole vibe. All the command-line arguments you can throw at it are listed down below, one by one, no skips, no cuts. πŸŽ€


πŸ¦‹ OPTIONS πŸ¦‹

  • -h, --help β€” shows you the full list of command-line arguments it accepts. your lil cheat sheet fr fr πŸ“‹
  • -ns β€” no splash screen on startup, periodt. (you can also just fully disable the splash screen in the program's environment options if that's more your thing πŸ’œ)
  • -d β€” turns on the debugging log. detective mode activated πŸ”
  • --prefix β€” tell Code::Blocks an alternate path so it can find its shared files. it's like giving it directions πŸ—ΊοΈ
  • -p, --profile β€” pick which profile to use. and if you set the profile to ask, Code::Blocks will pop up a list of all the known profiles so you can choose from them πŸ‘‘
  • --rebuild β€” starts a batch rebuild job (that's "clean" and "build", both of them, the whole thing) on the filenames you passed as arguments. those filenames can be projects or workspaces, either is fine πŸ’–
  • --build β€” starts a batch build job (so like, no "clean" this time) on the filenames you passed as arguments. again, projects or workspaces, your call 🌈
  • --target β€” name a single build target to build in that batch build (or rebuild) job. just one, bestie 🎯
  • --no-batch-window-close β€” normally when the batch job ends, the log window closes too 😭 this option keeps it open until you manually close it yourself. you're in control πŸ’…
  • --batch-build-notify β€” pings you with a message when the batch job finishes. it's like a lil "we're done!!" text πŸ“£

πŸŽ€ EXAMPLES πŸŽ€

Batch build myproject.cpp, only the "Debug" target, and keep the batch job window open when it's finished:

codeblocks --build --target="Debug" --no-batch-window-close myproject.cbp

Batch rebuild everything in myproject.cbp:

codeblocks --rebuild myproject.cbp

πŸ‘‘ AUTHOR πŸ‘‘

Yiannis "mandrav" Mandravellos (mandrav@codeblocks.org) β€” the icon who made this happen 🫢


πŸ’€ HISTORY πŸ’€

2006 β€” initial version. the origin story, no cap ⭐


and that's the whole page bestie!! version 1.0, dated 10 July 2006, straight from the Code::Blocks IDE man page πŸ’– now go build something iconic βœ¨πŸŽ€πŸ¦‹