[vlc-devel] [PATCH] Configure: provide a switch to build for a "Windows Store App" target

Jean-Baptiste Kempf jb at videolan.org
Mon Jan 21 23:44:14 CET 2013


"Windows Store App" are what we used to call Metro Apps, or Modern UI
apps.
They are apps without HWMD and without Console
---
 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.
-- 
1.8.1.1




More information about the vlc-devel mailing list