Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Today's updates: 30 Nov 2005

<< < (2/5) > >>

MortenMacFly:
...one more time: THIS ROCKS!!! :D :D :D
Really: Great idea!

Morten.

takeshimiya:
mandrav: Amazing! I can't believe, I was looking to do this very same two days ago!

Something like this:
{ wxCMD_LINE_OPTION, _T(""), _T("make-file"), _T("builds the project or file specified"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_NEEDS_SEPARATOR },
{ wxCMD_LINE_OPTION, _T(""), _T("make-target"), _T("makes the target specified"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_NEEDS_SEPARATOR },


My intention was to redirect the Build log to stdio.
And to not start any GUI, so you could compile codeblocks --make-file=project.cbp without having X running in linux.

Also, I was thinking it would be good to have an option to list all available targets.

rickg22:
Well the problem I see is that the SDK assummes that there IS a main frame. Most objects are descendants of wxWindow or wxObject, messagemanager is a descendant of wxNotebook, and well, you get the idea.

The change is definitely not trivial if we want to do something than just hide the frame.

takeshimiya:
I supposed that, so...

There's any way to call the compiler dll directly, and tell it to compile?
I suppose the compiler functions are enough separated from the GUI functions (wxBase, wxCore parts doesn't need a GUI).

I don't mind if this belongs to codeblocks.exe or a separeted codeblocks-make.exe (just like MSVC 2005 does).

This way, C::B will act as a very good make alternative :)

mandrav:
Added --target command-line option.
Example:

--- Code: ---codeblocks.exe --personality=Build --hidden --rebuild --target="Release" ogre_sample.cbp > build.log

--- End code ---

Also revamped the compiler plugin and it's now using a CommandQueue. This has simplified the plugin code a lot.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version