News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Code::Blocks structure

Started by RShadow, July 09, 2005, 08:53:56 AM

Previous topic - Next topic

RShadow

I'm hoping that somebody can get me up to speed on the logic behind the directory structure of Code::Blocks.  Is there a reason/purpose behind the sdk/ and src/ directories?

David Perfors

Yes there is, the src directory is the "normal" source of codeblocks. and the sdk is the shared code which also could be used for making plugins.
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

mandrav

src/ contains the application code. The main window, environment settings and what binds C::B together.
sdk/ contains the core classes that do all the work. It is used by the main app and the plugins.

Yiannis.
Be patient!
This bug will be fixed soon...

RShadow

Quote from: mandravsrc/ contains the application code. The main window, environment settings and what binds C::B together.
sdk/ contains the core classes that do all the work. It is used by the main app and the plugins.

Yiannis.
Ok.. Makes sense.  The only other question I have is about the plugins directory. There is a directory called compilergcc .. but this seems to have the code for all the compiler plugins.

Thanks.

Profic

Quote from: RShadowOk.. Makes sense.  The only other question I have is about the plugins directory. There is a directory called compilergcc .. but this seems to have the code for all the compiler plugins.
In the begining there was command line... err... :) This pluging firstly was intended to gcc only, but was in such a way than can support much more compilers :)
Not fear, nor tears can reach me now, the light seems so clear as the night fades away (c) Tristania - Beyond The Veil

David Perfors

This could probably be changed sometime :)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

mandrav

Yes the compiler toolchain framework is going to be changed post-1.0.
There will be an open discussion about it. I have some ideas which I 'll post and start a discussion from there to perfect its design.

Yiannis.
Be patient!
This bug will be fixed soon...