<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VincentB</id>
	<title>Code::Blocks - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VincentB"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/VincentB"/>
	<updated>2026-04-15T23:19:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments&amp;diff=4486</id>
		<title>Code::Blocks command line arguments</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments&amp;diff=4486"/>
		<updated>2007-03-12T16:30:15Z</updated>

		<summary type="html">&lt;p&gt;VincentB: /* Command line arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: User Documentation]]&lt;br /&gt;
== Using command line arguments ==&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
# Find the Code::Blocks shortcut in the Desktop or Start menu.&lt;br /&gt;
# Right click on the icon and select Properties.&lt;br /&gt;
# Select the Shortcut tab.&lt;br /&gt;
# Append the command line arguments you want to use to the end of the Target text (behind the quote mark).&lt;br /&gt;
# Run Code::Blocks by using the shortcut you edited.&lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;C:\Program Files\CodeBlocks\codeblocks.exe&amp;quot; /na /nd&lt;br /&gt;
&lt;br /&gt;
=== *nix ===&lt;br /&gt;
&lt;br /&gt;
# Launch a terminal client, such as XTerm, Gnome Terminal or Konsole.&lt;br /&gt;
# Type &amp;quot;codeblocks&amp;quot; and then append the command line arguments you want to use.&lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
&lt;br /&gt;
 codeblocks --no-splash-screen --debug-log&lt;br /&gt;
&lt;br /&gt;
== Command line arguments ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;3&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;border: 1px solid gray; border-collapse: collapse;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: 1px solid gray&amp;quot;&lt;br /&gt;
! Argument &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;filename&amp;gt;''&lt;br /&gt;
| Specifies the project *.cbp filename or workspace *.workspace filename. For instance ''&amp;lt;filename&amp;gt;'' may be ''c:\some\where\a\project.cbp''. Place this argument at end of command line, just before output redirection if any.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''/h''', '''--help'''&lt;br /&gt;
| Shows a help message about the command line arguments.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''/na''', '''--no-check-associations'''&lt;br /&gt;
| Don't perform any file association checks (Windows only).&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''/nd''', '''--no-dde'''&lt;br /&gt;
| Don't start a [http://en.wikipedia.org/wiki/Dynamic_Data_Exchange DDE] server (Windows only).&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''/ns''', '''--no-splash-screen'''&lt;br /&gt;
| Hides the splash screen when the application is loading.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''/d''', '''--debug-log'''&lt;br /&gt;
| Display application's debug log.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''--prefix='''''&amp;lt;str&amp;gt;''&lt;br /&gt;
| Sets the shared data directory prefix.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''/p''', '''--personality='''''&amp;lt;str&amp;gt;'', '''--profile='''''&amp;lt;str&amp;gt;''&lt;br /&gt;
| Sets the [[Personalities|personality]] to use. You can use ''ask'' as the parameter to list available personalities.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''--rebuild'''&lt;br /&gt;
| Clean and build the project / workspace.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''--build'''&lt;br /&gt;
| Build the project / workspace.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''--target='''''&amp;lt;str&amp;gt;''&lt;br /&gt;
| Sets target for batch build. For example --target=&amp;quot;Release&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''--no-batch-window-close'''&lt;br /&gt;
| Keeps the batch log window visible after the batch build has completed.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''--batch-build-notify'''&lt;br /&gt;
| Shows a message after the batch build has completed.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;gt;''' ''&amp;lt;build log file&amp;gt;''&lt;br /&gt;
| Placed in the very last position of command line, this may be used to redirect standard output to log file, this is not a codeblock option as such, but just a DOS/*nix shell usual standard output redirection&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>VincentB</name></author>
	</entry>
</feed>