User forums > Using Code::Blocks

command line c::b project builder for Fedora

<< < (3/3)

molc:

--- Quote from: jens on March 23, 2011, 06:05:50 pm ---The console binary (codeblocks_con ) most likely has dependencies on gui-stuff.
At the moment I split some part in base and gui-files, but it's still very hacky and uses a lot of ifdefs.
If all related files are split a reorganisation will come (and also a possibility to build just the console-binary).

Neverthelees it works and can be used from a real console, with no running X-server.

--- End quote ---

I built it successfully, I tested it and it works fine when I invoke it in the command line.

But "ldd codeblocks_con" shows some gui libraries linked in.
It will probably be rejected by rpmdevtools even if it needs no running X-server, just because of that library dependency.

The idea is to use codeblocks_con instead of make for a project created with C::B in the rpm build process.

Thank you for your time and efforts.

In the meantime, is there any chance to get cbMakeGen [1] plugin included with src/plugins/contrib?

I tested version 0.3.12.5 building it from source code using CodeBlocks under Fedora 14 with the included .cbp project, and after doing a build and a later restart of CodeBlocks, the plugin becomes active. It generates a clean and nice Makefile that works fine with rpmdevtools.

[1] http://forums.codeblocks.org/index.php/topic,6241.135.html

molc:
I saw cbp2make in an old thread in this forum, and I tested it.

It works just fine and it fits my needs.

It creates wonderful makefiles for C::B workspaces too, which would allow to package several C::B projects in one rpm.

My congratulations to cbp2make developers.

Sorry for the noise.

Navigation

[0] Message Index

[*] Previous page

Go to full version