Author Topic: commandline build without gui notifications  (Read 4115 times)

Offline ProPuke

  • Single posting newcomer
  • *
  • Posts: 2
commandline build without gui notifications
« on: May 09, 2011, 04:28:47 am »
I fear I know the answer to this, but I am asking in case things have changed, or someone knows something I don't..

I wish to call codeblocks via the commandline without the gui build window appear (& preferably having the progress stream to the console as it happens instead of appear once it has completed).
Is this possible via the any current builds? (RC, nightly or working custom branches)

Also, when called from the commandline I get a "Workspace 'Workspace' is modified. Do you want to save it?" prompt upon each completion. Is there a known cause/remedy for this?

Thanks guys.

I am building in windows.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: commandline build without gui notifications
« Reply #1 on: May 09, 2011, 04:56:18 am »
Read http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments

I am guessing option "--batch-build-notify" might do what you want.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ProPuke

  • Single posting newcomer
  • *
  • Posts: 2
Re: commandline build without gui notifications
« Reply #2 on: May 09, 2011, 05:57:48 am »
No. That just adds an extra notice after the commandline (batch) build has completed.

None of the commandline parameters listed seem to help.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: commandline build without gui notifications
« Reply #3 on: May 09, 2011, 06:03:38 am »
You might want to state your version of Code::Blocks.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Ghorgoth

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: commandline build without gui notifications
« Reply #4 on: August 02, 2011, 06:47:02 pm »
I'm also really interested in a solution, i'd like to be able to script build without any popup window blocking everything :

For example if a project is missing in the workspace a popup appears and prevent the build process to continue, i have to manually click and thats really anoying because its intended to be scheduled and automatized
« Last Edit: August 02, 2011, 06:49:33 pm by Ghorgoth »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: commandline build without gui notifications
« Reply #5 on: August 03, 2011, 02:24:24 am »
@Ghorgoth:

See the Linux codeblocks_console build in SVN; note this is NOT stable or finished.
svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/branches/codeblocks_console

Read this thread http://forums.codeblocks.org/index.php/topic,14402.0.html

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org