Function tugger_wix::run_candle[][src]

pub fn run_candle<P: AsRef<Path>, S: AsRef<str>>(
    logger: &Logger,
    wix_toolset_path: P,
    wxs_path: P,
    arch: &str,
    defines: impl Iterator<Item = (S, S)>,
    output_path: Option<P>
) -> Result<PathBuf>

Run candle.exe against a .wxs file to produce a .wixobj file.

wix_toolset_path is the directory where candle.exe can be found.

wxs_path is the .wxs file to compile.

arch is turned into the value for -arch.

defines are preprocessor parameters that get passed to -d<K>=<V>.

output_path defines an optional output path. If not defined, a .wixobj will be generated in the directory of the source file.