Code::Blocks command line arguments

From CodeBlocks
Revision as of 15:57, 31 August 2006 by Artojon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Using command line arguments


  1. Find the Code::Blocks shortcut in the Desktop or Start menu.
  2. Right click on the icon and select Properties.
  3. Select the Shortcut tab.
  4. Append the command line arguments you want to use to the end of the Target text (behind the quote mark).
  5. Run Code::Blocks by using the shortcut you edited.


"C:\Program Files\CodeBlocks\codeblocks.exe" /na /nd


  1. Launch a terminal client, such as XTerm, Gnome Terminal or Konsole.
  2. Type "codeblocks" and then append the command line arguments you want to use.


codeblocks --no-splash-screen --debug-log

List of command line arguments

/h, --help

Shows a help message about the command line arguments.

/na, --no-check-associations

Don't perform any file association checks (Windows only).

/nd, --no-dde

Don't start a DDE server (Windows only).
More info about DDE

/ns, --no-splash-screen

Hides the splash screen when the application is loading.

/d, --debug-log

Display application's debug log.


Sets the shared data directory prefix.

/p, --personality=<str>, --profile=<str>

Sets the personality to use. You can use ask as the parameter to list available personalities.
Main article: Personalities


Clean and build the project / workspace.


Build the project / workspace.


Sets target for batch build.


Keeps the batch log window visible after the batch build has completed.


Shows a message after the batch build has completed.