summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/wix.mpb
blob: fb6b1c250e25c8e35a7463b6ecb86cae574129c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// $Id$

project {
  custom_only = 1

  Define_Custom (WXS) {
    automatic             = 1
    command               = <%quote%>$(WIX_ROOT)/bin/candle.exe<%quote%>

    inputext              = .wxs
    output_option         = -out
    commandflags          = -nologo
    generic_outputext     = .wixobj
    keyword wix_flags     = commandflags
  }

  Define_Custom (WXI) {
    automatic             = 1
    inputext              = .wxi
  }

  postbuild = \
    <%quote%>$(WIX_ROOT)/bin/light.exe<%quote%> -out <%project_name%>.msi \
    <%light_flags%> <%foreach(wxs_files)%><%noextension(wxs_file)%>.wixobj <%endfor%>

  specific(vc7, vc71, vc8, vc9, vc10) {
    wix_flags += -dtype=<%prj_type%>
  }
}