Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Lowkus on May 10, 2018, 02:56:04 am
-
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.
-
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.
-
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.
-
I am vaguely aware of creating different targets, I have never attempted it and the details are something I would have to research.