Author Topic: Does C::B support to build .cbp in command line ?  (Read 6230 times)

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 110
Does C::B support to build .cbp in command line ?
« 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Does C::B support to build .cbp in command line ?
« Reply #2 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.