It is possible to define preprocessor variables with the -d option. But this is cryptic.
Two suggestions for it:
- allow "-d@<filename>" option to define variables inside a file. So options for an project can be maintained more easily.</filename>
- allow "-h <filename>" to define a include file that is always inclued in front of each module that gets compiled. (Like a standard header)
-h my.wxi
is just the same as writing </filename>
in front of each module.
Both methods would it make easy to define variables all over the project but to centralize their definition.