Code::Blocks command line arguments: Difference between revisions
From Code::Blocks
No edit summary |
Sethjackson (talk | contribs) Made it a table |
||
| Line 24: | Line 24: | ||
== List of command line arguments == | == List of command line arguments == | ||
{| border="1" cellpadding="3" cellspacing="0" style="border: 1px solid gray; border-collapse: collapse;" | |||
: | |- style="background: #ececec; border: 1px solid gray" | ||
! Argument | |||
! Function | |||
|- | |||
'''/ | |- | ||
| '''/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''' | |- | ||
| '''/nd''', '''--no-dde''' | |||
| Don't start a [http://en.wikipedia.org/wiki/Dynamic_Data_Exchange DDE] server (Windows only). | |||
|- | |||
|- | |||
| '''/ns''', '''--no-splash-screen''' | |||
| Hides the splash screen when the application is loading. | |||
|- | |||
|- | |||
| '''/d''', '''--debug-log''' | |||
| Display application's debug log. | |||
|- | |||
''' | |- | ||
| '''--prefix='''''<str>'' | |||
| Sets the shared data directory prefix. | |||
|- | |||
|- | |||
| '''/p''', '''--personality='''''<str>'', '''--profile='''''<str>'' | |||
| Sets the [[Personalities|personality]] to use. You can use ''ask'' as the parameter to list available personalities. | |||
|- | |||
|- | |||
| '''--rebuild''' | |||
| Clean and build the project / workspace. | |||
|- | |||
|- | |||
| '''--build''' | |||
| Build the project / workspace. | |||
|- | |||
'''-- | |- | ||
| '''--target='''''<str>'' | |||
| Sets target for batch build. | |||
|- | |||
|- | |||
| '''--no-batch-window-close''' | |||
| Keeps the batch log window visible after the batch build has completed. | |||
|- | |||
|- | |||
| '''--batch-build-notify''' | |||
| Shows a message after the batch build has completed. | |||
|- | |||
|} | |||
Revision as of 16:57, 31 August 2006
Using command line arguments
Windows
- Find the Code::Blocks shortcut in the Desktop or Start menu.
- Right click on the icon and select Properties.
- Select the Shortcut tab.
- Append the command line arguments you want to use to the end of the Target text (behind the quote mark).
- Run Code::Blocks by using the shortcut you edited.
Example
"C:\Program Files\CodeBlocks\codeblocks.exe" /na /nd
*nix
- Launch a terminal client, such as XTerm, Gnome Terminal or Konsole.
- Type "codeblocks" and then append the command line arguments you want to use.
Example
codeblocks --no-splash-screen --debug-log
List of command line arguments
| Argument | Function |
|---|---|
| /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). |
| /ns, --no-splash-screen | Hides the splash screen when the application is loading. |
| /d, --debug-log | Display application's debug log. |
| --prefix=<str> | 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. |
| --rebuild | Clean and build the project / workspace. |
| --build | Build the project / workspace. |
| --target=<str> | Sets target for batch build. |
| --no-batch-window-close | Keeps the batch log window visible after the batch build has completed. |
| --batch-build-notify | Shows a message after the batch build has completed. |
