[cmake-developers] Using the internal Code::Blocks builder

Bill Hoffman bill.hoffman at kitware.com
Wed Sep 5 16:29:59 EDT 2012


On 9/5/2012 3:11 PM, Benjamin Eikel wrote:
> That might become a problem. I tried
>
> codeblocks --build --target=MyTarget MyProject.cbp
>
> which works and builds the specified target inside the project. But that opens
> a log window. I have not found a possibility to execute that without a
> display, yet.

http://www.codeblocks.org/docs/manual_en.pdf

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.
codeblocks.exe /na /nd --no-splash-screen --built <name>.cbp 
--target=’Release’



-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573



More information about the cmake-developers mailing list