view contrib/wix/defines.wxi @ 38434:8399438bc7ef

formatter: provide hint of context keys required by template This allows us to create ctx objects only if necessary. I tried another idea which is to populate ctx from 'repo' and 'node' value on demand. It worked, but seemed unnecessarily complicated. So I chose a simpler one. The datafields argument is a space-separated string for consistency with fm.write() API.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 08 Jun 2018 22:10:22 +0900
parents bd9bc4123920
children
line wrap: on
line source

<Include>

  <?if $(var.Platform) = "x64" ?>
    <?define IsX64 = yes ?>
  <?else?>
    <?define IsX64 = no ?>
  <?endif?>

</Include>