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
[email protected]
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to