News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

prefix.cpp in Codeblocks.cbp (C::B project file for Windows)

Started by ollydbg, April 16, 2013, 04:16:22 AM

Previous topic - Next topic

ollydbg

This file is used in Codeblocks-unix.cbp, but not Codeblocks.cbp.

In Codeblocks.cbp, it has such snippet:

<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:
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Alpha

Quote from: ollydbg on April 16, 2013, 04:16:22 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.

MortenMacFly

Quote from: ollydbg on April 16, 2013, 04:16:22 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]