summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorAlin Gabriel Serdean <aserdean@ovn.org>2017-11-06 12:12:03 +0200
committerAlin Gabriel Serdean <aserdean@ovn.org>2017-11-14 06:16:37 +0200
commitb0bf5ef2925c18af4008501aa0717a7752cc5062 (patch)
tree247d643e2320d902d0b42f3d42167fdc5e50ffbc /windows
parentabbb33e38c22e8579351239075c5b632e28078ca (diff)
downloadopenvswitch-b0bf5ef2925c18af4008501aa0717a7752cc5062.tar.gz
installer-windows: Add x64 installer build via command line
Add a new variable to know on which platform we are compiling. Make the msbuild command to be aware of the platform we want to build. Shorter the msbuild parameters from `property:`->`p:`. Change slashes to double slashes so msys does not get confused. Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org> Acked-by: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>
Diffstat (limited to 'windows')
-rw-r--r--windows/automake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/automake.mk b/windows/automake.mk
index 11ab4c7d6..80dca1467 100644
--- a/windows/automake.mk
+++ b/windows/automake.mk
@@ -35,7 +35,7 @@ windows_installer: all
cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.cat windows/ovs-windows-installer/Driver/Win8.1/ovsext.cat
cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.inf windows/ovs-windows-installer/Driver/Win8.1/ovsext.inf
cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.sys windows/ovs-windows-installer/Driver/Win8.1/ovsext.sys
- MSBuild.exe windows/ovs-windows-installer.sln //nologo /target:Build /property:Configuration="Release" /property:Version="$(PACKAGE_VERSION)"
+ MSBuild.exe windows/ovs-windows-installer.sln //nologo //target:Build //p:Configuration="Release" //p:Version="$(PACKAGE_VERSION)" //p:Platform=$(PLATFORM)
EXTRA_DIST += \
windows/automake.mk \