'Inno Setup IDE and ISCC/ISPP passing define
I would like to use both the InnoIDE and ISCC/ISPP, the difference being that I would like to pass in a parameter, which will override a #define in the script.
In the command line I can pass /Dmyarg=myvalue. That is the same as #define myarg myvalue in the script.
Sadly, the script takes precedence over the command line value. I know, as I tried. I can obviously comment out the #define in the script and the command line define will work, however then I will not be able to use the IDE to build.
Is it possible to set a #define inside InnoIDE somewhere for the project or is there some means to have the command line #define take precedence?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
