Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ProPuke on May 09, 2011, 04:28:47 am

Title: commandline build without gui notifications
Post by: ProPuke 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.
Title: Re: commandline build without gui notifications
Post by: stahta01 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.
Title: Re: commandline build without gui notifications
Post by: ProPuke 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.
Title: Re: commandline build without gui notifications
Post by: stahta01 on May 09, 2011, 06:03:38 am
You might want to state your version of Code::Blocks.

Tim S.
Title: Re: commandline build without gui notifications
Post by: Ghorgoth 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
Title: Re: commandline build without gui notifications
Post by: stahta01 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.