Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on August 12, 2010, 12:16:40 am

Title: Does C::B support to build .cbp in command line ?
Post by: huzhongshan on August 12, 2010, 12:16:40 am
I want to setup an auto-build for the project , can I directly use something like codeblocks   xxx.cbp /rebuild /target:xxx , ie use c::B in command mode for autobuild server.
I read the wiki , it seems no info.

should I have to export .cbp to makefile to do this ? or how?
Title: Re: Does C::B support to build .cbp in command line ?
Post by: stahta01 on August 12, 2010, 12:49:52 am
http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments#Using_command_line_arguments
Title: Re: Does C::B support to build .cbp in command line ?
Post by: Jenna on August 12, 2010, 06:45:30 am
I want to setup an auto-build for the project , can I directly use something like codeblocks   xxx.cbp /rebuild /target:xxx , ie use c::B in command mode for autobuild server.
I read the wiki , it seems no info.

should I have to export .cbp to makefile to do this ? or how?
On *nix there is one thing you have to be aware of:
C::B can not run on real console.
You need a running x-server.