summaryrefslogtreecommitdiff
path: root/config/wix.mpb
diff options
context:
space:
mode:
authorJames H. Hill <hilljh82@gmail.com>2009-06-24 21:20:17 +0000
committerJames H. Hill <hilljh82@gmail.com>2009-06-24 21:20:17 +0000
commit3a1db97e6fedfdc26937b972703dafe7a01973c2 (patch)
treecef45b5f485352801dca3aef9f731dba53f51199 /config/wix.mpb
parentda110d07f1e12c4be872e3275e06f8ad7cefa285 (diff)
downloadMPC-3a1db97e6fedfdc26937b972703dafe7a01973c2.tar.gz
Wed Jun 24 21:19:36 UTC 2009 James H. Hill <hillj@dre.vanderbilt.edu>
Diffstat (limited to 'config/wix.mpb')
-rw-r--r--config/wix.mpb33
1 files changed, 33 insertions, 0 deletions
diff --git a/config/wix.mpb b/config/wix.mpb
new file mode 100644
index 00000000..e804864f
--- /dev/null
+++ b/config/wix.mpb
@@ -0,0 +1,33 @@
+// $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(vc71) {
+ wix_flags += -dtype=vc71
+ }
+
+ specific(vc8) {
+ wix_flags += -dtype=vc8
+ }
+}