[vlc-commits] Configure: provide a switch to build for a "Windows Store App" target
Jean-Baptiste Kempf
git at videolan.org
Tue Jan 22 13:45:20 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 21 23:28:52 2013 +0100| [5a36968636146308914994a4677a5c086f1f3e89] | committer: Jean-Baptiste Kempf
Configure: provide a switch to build for a "Windows Store App" target
"Windows Store App" are what we used to call Metro Apps, or Modern UI
apps.
They are apps without HWMD and without Console
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a36968636146308914994a4677a5c086f1f3e89
---
configure.ac | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/configure.ac b/configure.ac
index 968c2e9..40dcc71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -461,6 +461,16 @@ dnl Check for fnative-struct or mms-bitfields support for mingw32
fi
])
+AC_ARG_ENABLE(winstore_app,
+ AS_HELP_STRING([--enable-winstore-app],
+ [Build targetted for Windows Store apps (default disabled)]))
+
+AS_IF([test "${SYS}" = "mingw32"], [
+ AS_IF([test "${enable_winstore_app}" == "yes"], [
+ AC_DEFINE(WINAPI_FAMILY_APP, 1, [Define if you want to build for Windows Store apps])])
+ ])
+
+
dnl
dnl Buggy glibc prevention. Purposedly not cached.
dnl See sourceware.org bugs 5058 and 5443.
More information about the vlc-commits
mailing list