Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ollydbg on April 16, 2013, 04:16:22 am

Title: prefix.cpp in Codeblocks.cbp (C::B project file for Windows)
Post by: ollydbg on April 16, 2013, 04:16:22 am
This file is used in Codeblocks-unix.cbp, but not Codeblocks.cbp.

In Codeblocks.cbp, it has such snippet:
Code
		<Unit filename="src/prefix.cpp">
<Option compile="0" />
<Option link="0" />
<Option target="src" />
</Unit>
I see this file in Project Manager browser tree are in "grey" color. Do we need to remove it, or what's reason to keep it in Codeblocks.cbp?

EDIT:
I see all the header files were in "grey" color, see the screen shot below:
(http://i.imgur.com/RZMt4QK.png)
Title: Re: prefix.cpp in Codeblocks.cbp (C::B project file for Windows)
Post by: Alpha on April 16, 2013, 04:24:32 am
I see all the header files were in "grey" color, see the screen shot below:
If a file is marked to be compiled, it is black, else grey.  (Look at sdk.h, it is black.)

Should prefix.cpp be removed?  Probably (I do not believe it is being used currently), but someone else should respond to this.
Title: Re: prefix.cpp in Codeblocks.cbp (C::B project file for Windows)
Post by: MortenMacFly on April 16, 2013, 07:46:34 am
Do we need to remove it, or what's reason to keep it in Codeblocks.cbp?
I put it there like that so that we can easily synchronise the Unix with the windows project file. I would welcome keeping it that way.