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

Benjamin Eikel cmake at eikel.org
Sun Sep 23 09:33:00 EDT 2012


Am Donnerstag, 6. September 2012 um 09:24:39 schrieb Benjamin Eikel:
> Am Mittwoch, 5. September 2012 um 22:29:59 schrieb Bill Hoffman:
> > 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’
> 
> I also read this, but it is not true. Even with all these command line
> switches a window appears showing the build log. If I set the DISPLAY
> environment variable to an invalid value, I get the error message "Error:
> Unable to initialize gtk, is DISPLAY set properly?". There is also an old
> forum discussion about this:
> http://forums.codeblocks.org/index.php/topic,9731.0.html

I asked for help in the Code::Blocks forums:
http://forums.codeblocks.org/index.php/topic,16892.new.html

> --
> 
> 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



More information about the cmake-developers mailing list