Page 1 of 1

Stop compile of project based on compiler variable value

Posted: Wed May 10, 2023 9:58 am
by khalprin
Is there a way to stop the compiling of a project if a compiler variable has an unexpected value? I have an installer project that will build a 32 or 64 bit installer based on a compiler variable value. If the compiler variable contains a value that is not one of the expected values, I'd like to abort the compile.

Re: Stop compile of project based on compiler variable value

Posted: Mon May 22, 2023 9:00 am
by FrancescoT
You may conditionally use the "Halt Compilation" command.
https://www.installaware.com/mh52/desktop/haltcompile.htm?rhsearch=Halt&rhsyns=%20