|
@@ -61,4 +61,53 @@ my %targets = (
|
|
|
ex_libs => "onecore.lib",
|
|
|
multilib => "-arm64",
|
|
|
},
|
|
|
+
|
|
|
+ # Universal Windows Platform (UWP) App Support
|
|
|
+
|
|
|
+ # TODO
|
|
|
+ #
|
|
|
+ # The 'disable' attribute should have 'uplink'.
|
|
|
+ # however, these are checked in some 'inherit_from', which is processed
|
|
|
+ # very early, before the 'disable' attributes are seen.
|
|
|
+ # This is a problem that needs to be resolved in Configure first.
|
|
|
+ #
|
|
|
+ # But if you want to build library with Windows 10 Version 1809 SDK or
|
|
|
+ # earlier, the 'disable' attribute should also have 'asm'.
|
|
|
+
|
|
|
+ "VC-WIN32-UWP" => {
|
|
|
+ inherit_from => [ "VC-WIN32-ONECORE" ],
|
|
|
+ lflags => add("/APPCONTAINER"),
|
|
|
+ defines => add("WINAPI_FAMILY=WINAPI_FAMILY_APP",
|
|
|
+ "_WIN32_WINNT=0x0A00"),
|
|
|
+ dso_scheme => "",
|
|
|
+ disable => [ 'ui-console', 'stdio', 'async', 'uplink' ],
|
|
|
+ ex_libs => "WindowsApp.lib",
|
|
|
+ },
|
|
|
+ "VC-WIN64A-UWP" => {
|
|
|
+ inherit_from => [ "VC-WIN64A-ONECORE" ],
|
|
|
+ lflags => add("/APPCONTAINER"),
|
|
|
+ defines => add("WINAPI_FAMILY=WINAPI_FAMILY_APP",
|
|
|
+ "_WIN32_WINNT=0x0A00"),
|
|
|
+ dso_scheme => "",
|
|
|
+ disable => [ 'ui-console', 'stdio', 'async', 'uplink' ],
|
|
|
+ ex_libs => "WindowsApp.lib",
|
|
|
+ },
|
|
|
+ "VC-WIN32-ARM-UWP" => {
|
|
|
+ inherit_from => [ "VC-WIN32-ARM" ],
|
|
|
+ lflags => add("/APPCONTAINER"),
|
|
|
+ defines => add("WINAPI_FAMILY=WINAPI_FAMILY_APP",
|
|
|
+ "_WIN32_WINNT=0x0A00"),
|
|
|
+ dso_scheme => "",
|
|
|
+ disable => [ 'ui-console', 'stdio', 'async', 'uplink' ],
|
|
|
+ ex_libs => "WindowsApp.lib",
|
|
|
+ },
|
|
|
+ "VC-WIN64-ARM-UWP" => {
|
|
|
+ inherit_from => [ "VC-WIN64-ARM" ],
|
|
|
+ lflags => add("/APPCONTAINER"),
|
|
|
+ defines => add("WINAPI_FAMILY=WINAPI_FAMILY_APP",
|
|
|
+ "_WIN32_WINNT=0x0A00"),
|
|
|
+ dso_scheme => "",
|
|
|
+ disable => [ 'ui-console', 'stdio', 'async', 'uplink' ],
|
|
|
+ ex_libs => "WindowsApp.lib",
|
|
|
+ },
|
|
|
);
|