1.12 CodeBlocks at the command line |
IDE CodeBlocks can be executed from the command line without a graphic interface. In such a
case, there are several switches available for controlling the build process of a project. Since CodeBlocks is
thus scriptable, the creation of executables can be integrated into your own work processes.
<filename>
Specifies the project *.cbp
filename or workspace
*.workspace filename.
For instance,
<filename>
may be
project.cbp. Place this
argument at the end of the command line, just before the output redirection if there is any.
--file=<filename>[:line]
/h, --help
/na, --no-check-associations
/nd, --no-dde
/ni, --no-ipc
/ns, --no-splash-screen
/d, --debug-log
--prefix=<str>
/p,
--personality=<str>,
--profile=<str>
--rebuild
--build
--target=<str>
Sets target for batch build. For example
--target=’Release’.
--no-batch-window-close
--batch-build-notify
Shows a message after the batch build is completed.
--safe-mode
All plugins are disabled on startup.
>
<build log
file>
Placed in the very last position of the command line, this may be used to redirect standard
output to log file. This is not a codeblock option as such, but just a standard DOS/*nix shell output
redirection.
1.11.16 Settings for file extensions
1.13 Shortcuts
Created: 2010/25/05 11:52 Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH