-
- <!-- FIXME: restore this once bakefile is fixed to not use
- /Gm /GZ (incompatible with /O2) w/ debug-info -->
+
+ <if cond="FORMAT=='msvc'">
+ <option name="TARGET_CPU">
+ <default-value>$(DOLLAR)(CPU)</default-value>
+ <description>
+The target processor architecture must be specified when it is not X86.
+This does not affect the compiler output, so you still need to make sure
+your environment is set up appropriately with the correct compiler in the
+PATH. Rather it affects some options passed to some of the common build
+utilities such as the resource compiler and the linker.
+
+Accepted values: AMD64, IA64.
+ </description>
+ </option>
+ </if>
+ <if cond="FORMAT!='msvc'">
+ <set var="TARGET_CPU"/>
+ </if>
+
+ <!--
+ For MSVC enable debug information in all builds: it is needed to be
+ able to debug the crash dumps produced by wxDebugReport and as it
+ generates it in separate PDB files it doesn't cost us much to enable it
+ (except for disk space...).
+ -->