User forums > General (but related to Code::Blocks)

Compiler Define - Adding Comments?

(1/1)

Lowkus:
If I add a DEFINE value in the project compiler options, can I also comment that item?  As an example, see the last item in the list below.  Would CodeBlocks know to remove the comment from the DEFINE list?

__GNUWIN32__
__WXMSW__
wxUSE_UNICODE
GUID_WINDOWS --Replace this when compiling for Linux.

stahta01:
Project -> Property
Tab: Notes

Is the only place except for in code files or a separate note file to add comments like that.

Someone else might know of a different place.

Tim S.
 

stahta01:
Re-read your post; and, you do know about project targets, right?

Do you know you can set whether a target is built for Linux and/or Windows?

Tim S.

Lowkus:
I am vaguely aware of creating different targets, I have never attempted it and the details are something I would have to research.

Navigation

[0] Message Index

Go to full version