Search code examples
delphidelphi-xe2

How to know all the conditional defines in a project


How it is possible to see all the conditional defines for a Delphi project?

I can define something in project options, but there are some "defaults" and I don't know where to look for. Can you help?


Solution

  • Here are the sources of conditional definitions that I can think of:

    1. The pre-defined conditionals.
    2. The conditionals specified in the project options.
    3. The conditionals specified at the command line.
    4. The conditionals specified in the source code (often in .inc files).

    Now, I think you are asking about item 1 on this list, the pre-defined conditionals. The Delphi documentation has a comprehensive lists of these: