Use NODEBUG and DEBUG_SYMBOL from the environment to determine whether or
not to define Debug and DebugSyms for the installer build.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7319 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
<?include lang\config_$(var.BuildLang).wxi?>
<!-- Parameters for the features containing debug symbols -->
+ <?ifdef env.NODEBUG?>
+ <?ifdef env.DEBUG_SYMBOL?>
+ <?define DebugSyms?>
+ <?endif?>
+ <?else?>
+ <?define Debug?>
+ <?define DebugSyms?>
+ <?endif?>
<?ifdef DebugSyms?>
<?ifdef Debug?>
<?define DebugSymInstallDefault="followParent"?>
<!-- At most one of the following could be defined and must correspond
to the type of build performed. -->
- <?define Debug?>
<!--<?define Release?>-->
- <!-- We are including debug symbols anyway. Undefine this for a leaner
- installer without debug syms. -->
- <?define DebugSyms?>
-
<!-- Optional defines -->
<!-- <?define Beta="1"?> --> <!-- Numeric Beta identifier -->
<!-- <?define OldHelp?> --> <!-- Specifies the use of the old leash32.hlp file