Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: RShadow on July 09, 2005, 08:53:56 am

Title: Code::Blocks structure
Post by: RShadow on July 09, 2005, 08:53:56 am
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?
Title: Code::Blocks structure
Post by: David Perfors on July 09, 2005, 09:10:24 am
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.
Title: Code::Blocks structure
Post by: mandrav on July 09, 2005, 09:50:04 am
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.
Title: Code::Blocks structure
Post by: RShadow on July 09, 2005, 11:09:09 am
Quote from: 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.

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.
Title: Code::Blocks structure
Post by: Profic on July 09, 2005, 11:27:55 am
Quote from: RShadow
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.

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 :)
Title: Code::Blocks structure
Post by: David Perfors on July 09, 2005, 11:40:27 am
This could probably be changed sometime :)
Title: Code::Blocks structure
Post by: mandrav on July 09, 2005, 12:16:31 pm
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.