Page 1 of 1

Controlling the \"Debug\" flag with miabuild.exe

Posted: Fri Jan 13, 2006 5:21 am
by cgrill
Hi,
I just discovered a major source of errors when building a compressed install with miabuild.exe. When the "Debug" flag is set in the project's options, e.g. files are not compressed after build. So if the setup developer incidentally leaved the flag set, I get other build results than expected.
So, is there a way to override this flag from the command line?
Thanks

Posted: Fri Jan 13, 2006 6:36 am
by MichaelNesmith
Hi

This behavior is as designed. The debug flag enables debugging builds. Files must be uncompressed for this. You should never use the debug flag for outside of debugging.

Posted: Sun Jan 15, 2006 6:14 am
by cgrill
I understand that this is as it should be. So this is why I would like to have a possibility to force non-debug builds when building with miabuild, in case the setup author forgot to reset the debug flag after the last debug session.

Posted: Sun Jan 15, 2006 8:13 am
by MichaelNesmith
I don't believe this is possible, the project should always be taken out of the debug mode after development, this is really the responsibility of the developer (just like it is his/her responsibility to make sure that the setup works during its development). I apologize for the inconvenience.