mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 05:49:58 +00:00
Merge pull request #19249 from hrydgard/miniupnp-upgrade
Ugprade miniupnp submodule to latest
This commit is contained in:
commit
a2ececdf2b
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -30,7 +30,7 @@
|
|||||||
url = https://github.com/hrydgard/ppsspp-freetype.git
|
url = https://github.com/hrydgard/ppsspp-freetype.git
|
||||||
[submodule "ext/miniupnp"]
|
[submodule "ext/miniupnp"]
|
||||||
path = ext/miniupnp
|
path = ext/miniupnp
|
||||||
url = https://github.com/hrydgard/miniupnp.git
|
url = https://github.com/miniupnp/miniupnp.git
|
||||||
[submodule "zstd"]
|
[submodule "zstd"]
|
||||||
path = ext/zstd
|
path = ext/zstd
|
||||||
url = https://github.com/facebook/zstd.git
|
url = https://github.com/facebook/zstd.git
|
||||||
|
@ -2460,8 +2460,8 @@ if(USE_MINIUPNPC)
|
|||||||
target_link_libraries(${CoreLibName} ${MINIUPNP_LIBRARY})
|
target_link_libraries(${CoreLibName} ${MINIUPNP_LIBRARY})
|
||||||
add_definitions(-DWITH_UPNP -DUSE_SYSTEM_MINIUPNPC)
|
add_definitions(-DWITH_UPNP -DUSE_SYSTEM_MINIUPNPC)
|
||||||
else()
|
else()
|
||||||
set (MINIUPNPC_VERSION 2.1) # used by miniupnpcstrings.h.cmake
|
set (MINIUPNPC_VERSION 2.2) # used by miniupnpcstrings.h.cmake
|
||||||
set (MINIUPNPC_API_VERSION 17)
|
set (MINIUPNPC_API_VERSION 18)
|
||||||
option(UPNPC_BUILD_STATIC "Build static library" TRUE)
|
option(UPNPC_BUILD_STATIC "Build static library" TRUE)
|
||||||
option(NO_GETADDRINFO "Define NO_GETADDRINFO" FALSE)
|
option(NO_GETADDRINFO "Define NO_GETADDRINFO" FALSE)
|
||||||
mark_as_advanced(NO_GETADDRINFO)
|
mark_as_advanced(NO_GETADDRINFO)
|
||||||
@ -2485,25 +2485,28 @@ if(USE_MINIUPNPC)
|
|||||||
add_definitions(-DWITH_UPNP -DMINIUPNP_STATICLIB)
|
add_definitions(-DWITH_UPNP -DMINIUPNP_STATICLIB)
|
||||||
set(MINIUPNP_DIR "ext/miniupnp/miniupnpc")
|
set(MINIUPNP_DIR "ext/miniupnp/miniupnpc")
|
||||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
include_directories(ext/miniupnp/miniupnpc/src)
|
||||||
|
include_directories(ext/miniupnp/miniupnpc/include)
|
||||||
configure_file(${MINIUPNP_DIR}/miniupnpcstrings.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/miniupnpcstrings.h) # by default miniupnp repo doesn't contains miniupnpcstrings.h and need to be generated
|
configure_file(${MINIUPNP_DIR}/miniupnpcstrings.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/miniupnpcstrings.h) # by default miniupnp repo doesn't contains miniupnpcstrings.h and need to be generated
|
||||||
set(MINIUPNPC_SOURCES
|
set(MINIUPNPC_SOURCES
|
||||||
# the needed bits of miniupnpc (no python module, no tests, no cli)
|
# the needed bits of miniupnpc (no python module, no tests, no cli)
|
||||||
${MINIUPNP_DIR}/addr_is_reserved.c
|
${MINIUPNP_DIR}/src/addr_is_reserved.c
|
||||||
${MINIUPNP_DIR}/connecthostport.c
|
${MINIUPNP_DIR}/src/connecthostport.c
|
||||||
${MINIUPNP_DIR}/igd_desc_parse.c
|
${MINIUPNP_DIR}/src/igd_desc_parse.c
|
||||||
${MINIUPNP_DIR}/minisoap.c
|
${MINIUPNP_DIR}/src/minisoap.c
|
||||||
${MINIUPNP_DIR}/minissdpc.c
|
${MINIUPNP_DIR}/src/minissdpc.c
|
||||||
${MINIUPNP_DIR}/miniupnpc.c
|
${MINIUPNP_DIR}/src/miniupnpc.c
|
||||||
${MINIUPNP_DIR}/miniwget.c
|
#${MINIUPNP_DIR}/miniupnpcmodule.c
|
||||||
${MINIUPNP_DIR}/minixml.c
|
${MINIUPNP_DIR}/src/miniwget.c
|
||||||
${MINIUPNP_DIR}/minixmlvalid.c
|
${MINIUPNP_DIR}/src/minixml.c
|
||||||
${MINIUPNP_DIR}/portlistingparse.c
|
${MINIUPNP_DIR}/src/minixmlvalid.c
|
||||||
${MINIUPNP_DIR}/receivedata.c
|
${MINIUPNP_DIR}/src/portlistingparse.c
|
||||||
|
${MINIUPNP_DIR}/src/receivedata.c
|
||||||
#${MINIUPNP_DIR}/upnpc.c # causing an error due to already existing _main()
|
#${MINIUPNP_DIR}/upnpc.c # causing an error due to already existing _main()
|
||||||
${MINIUPNP_DIR}/upnpcommands.c
|
${MINIUPNP_DIR}/src/upnpcommands.c
|
||||||
${MINIUPNP_DIR}/upnpdev.c
|
${MINIUPNP_DIR}/src/upnpdev.c
|
||||||
${MINIUPNP_DIR}/upnperrors.c
|
${MINIUPNP_DIR}/src/upnperrors.c
|
||||||
${MINIUPNP_DIR}/upnpreplyparse.c
|
${MINIUPNP_DIR}/src/upnpreplyparse.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/miniupnpcstrings.h
|
${CMAKE_CURRENT_BINARY_DIR}/miniupnpcstrings.h
|
||||||
)
|
)
|
||||||
if (NOT WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "AmigaOS")
|
if (NOT WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "AmigaOS")
|
||||||
|
@ -161,7 +161,7 @@ bool PortManager::Initialize(const unsigned int timeout) {
|
|||||||
|
|
||||||
// Get LAN IP address that connects to the router
|
// Get LAN IP address that connects to the router
|
||||||
char lanaddr[64] = "unset";
|
char lanaddr[64] = "unset";
|
||||||
int status = UPNP_GetValidIGD(devlist, urls, datas, lanaddr, sizeof(lanaddr)); //possible "status" values, 0 = NO IGD found, 1 = A valid connected IGD has been found, 2 = A valid IGD has been found but it reported as not connected, 3 = an UPnP device has been found but was not recognized as an IGD
|
int status = UPNP_GetValidIGD(devlist, urls, datas, lanaddr, sizeof(lanaddr), nullptr, 0); //possible "status" values, 0 = NO IGD found, 1 = A valid connected IGD has been found, 2 = A valid IGD has been found but it reported as not connected, 3 = an UPnP device has been found but was not recognized as an IGD
|
||||||
m_lanip = std::string(lanaddr);
|
m_lanip = std::string(lanaddr);
|
||||||
INFO_LOG(SCENET, "PortManager - Detected LAN IP: %s", m_lanip.c_str());
|
INFO_LOG(SCENET, "PortManager - Detected LAN IP: %s", m_lanip.c_str());
|
||||||
|
|
||||||
|
@ -22,16 +22,16 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef USE_SYSTEM_MINIUPNPC
|
#ifdef USE_SYSTEM_MINIUPNPC
|
||||||
#include <miniupnpc/miniwget.h>
|
#include <miniupnpc/include/miniwget.h>
|
||||||
#include <miniupnpc/miniupnpc.h>
|
#include <miniupnpc/include/miniupnpc.h>
|
||||||
#include <miniupnpc/upnpcommands.h>
|
#include <miniupnpc/include/upnpcommands.h>
|
||||||
#else
|
#else
|
||||||
#ifndef MINIUPNP_STATICLIB
|
#ifndef MINIUPNP_STATICLIB
|
||||||
#define MINIUPNP_STATICLIB
|
#define MINIUPNP_STATICLIB
|
||||||
#endif
|
#endif
|
||||||
#include "ext/miniupnp/miniupnpc/miniwget.h"
|
#include "ext/miniupnp/miniupnpc/include/miniwget.h"
|
||||||
#include "ext/miniupnp/miniupnpc/miniupnpc.h"
|
#include "ext/miniupnp/miniupnpc/include/miniupnpc.h"
|
||||||
#include "ext/miniupnp/miniupnpc/upnpcommands.h"
|
#include "ext/miniupnp/miniupnpc/include/upnpcommands.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
<SDLCheck>true</SDLCheck>
|
<SDLCheck>true</SDLCheck>
|
||||||
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
||||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NOMINMAX;MINIUPNP_STATICLIB;_WINSOCK_DEPRECATED_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NOMINMAX;MINIUPNP_STATICLIB;_WINSOCK_DEPRECATED_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../ext/miniupnpc;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../ext/miniupnp-build;../../ext/miniupnp/miniupnpc/include;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
@ -89,7 +89,7 @@
|
|||||||
<SDLCheck>true</SDLCheck>
|
<SDLCheck>true</SDLCheck>
|
||||||
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
||||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NOMINMAX;MINIUPNP_STATICLIB;_WINSOCK_DEPRECATED_NO_WARNINGS;_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NOMINMAX;MINIUPNP_STATICLIB;_WINSOCK_DEPRECATED_NO_WARNINGS;_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../ext/miniupnpc;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../ext/miniupnp-build;../../ext/miniupnp/miniupnpc/include;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
@ -111,7 +111,7 @@
|
|||||||
<SDLCheck>true</SDLCheck>
|
<SDLCheck>true</SDLCheck>
|
||||||
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
||||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NOMINMAX;MINIUPNP_STATICLIB;_WINSOCK_DEPRECATED_NO_WARNINGS;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NOMINMAX;MINIUPNP_STATICLIB;_WINSOCK_DEPRECATED_NO_WARNINGS;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../ext/miniupnpc;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../ext/miniupnp-build;../../ext/miniupnp/miniupnpc/include;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
@ -127,35 +127,21 @@
|
|||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\addr_is_reserved.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\addr_is_reserved.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\connecthostport.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\connecthostport.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\igd_desc_parse.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\igd_desc_parse.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\minisoap.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minisoap.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\minissdpc.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minissdpc.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\miniupnpc.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\miniupnpc.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\miniwget.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\miniwget.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\minixml.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minixml.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\portlistingparse.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minixmlvalid.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\receivedata.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\portlistingparse.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnpcommands.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\receivedata.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnpdev.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnpcommands.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnperrors.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnpdev.c" />
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnpreplyparse.h" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnperrors.c" />
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\addr_is_reserved.c" />
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnpreplyparse.c" />
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\connecthostport.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\igd_desc_parse.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minisoap.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minissdpc.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\miniupnpc.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\miniwget.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minixml.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minixmlvalid.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\portlistingparse.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\receivedata.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnpcommands.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnpdev.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnperrors.c" />
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnpreplyparse.c" />
|
|
||||||
<ClCompile Include="pch.c">
|
<ClCompile Include="pch.c">
|
||||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -163,6 +149,18 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\..\ext\miniupnp\miniupnpc\msvc\genminiupnpcstrings.vbs" />
|
<None Include="..\..\ext\miniupnp\miniupnpc\msvc\genminiupnpcstrings.vbs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\addr_is_reserved.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\codelength.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\connecthostport.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\minisoap.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\minissdpc.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\miniupnpc_socketdef.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\miniwget_private.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\minixml.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\receivedata.h" />
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\win32_snprintf.h" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
@ -1,96 +1,52 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\connecthostport.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\igd_desc_parse.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minisoap.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minissdpc.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\miniupnpc.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\miniwget.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minixml.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\minixmlvalid.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\portlistingparse.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\receivedata.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnpcommands.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnpdev.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnperrors.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\upnpreplyparse.c">
|
|
||||||
<Filter>src</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="pch.c" />
|
<ClCompile Include="pch.c" />
|
||||||
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\addr_is_reserved.c">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\addr_is_reserved.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\connecthostport.c">
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\connecthostport.h">
|
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\igd_desc_parse.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\igd_desc_parse.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\minisoap.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minisoap.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\minissdpc.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minissdpc.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\miniupnpc.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\miniupnpc.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\miniwget.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\miniwget.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\minixml.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minixml.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\portlistingparse.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\minixmlvalid.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\receivedata.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\portlistingparse.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnpcommands.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\receivedata.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnpdev.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnpcommands.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnperrors.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnpdev.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\upnpreplyparse.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnperrors.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\addr_is_reserved.h">
|
<ClCompile Include="..\..\ext\miniupnp\miniupnpc\src\upnpreplyparse.c">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Filter Include="src">
|
<Filter Include="src">
|
||||||
@ -105,4 +61,36 @@
|
|||||||
<Filter>scripts</Filter>
|
<Filter>scripts</Filter>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\addr_is_reserved.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\codelength.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\connecthostport.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\minisoap.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\minissdpc.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\miniupnpc_socketdef.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\miniwget_private.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\minixml.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\receivedata.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\ext\miniupnp\miniupnpc\src\win32_snprintf.h">
|
||||||
|
<Filter>src</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -1 +1 @@
|
|||||||
Subproject commit 3a87be33e797ba947b2b2a5f8d087f6c3ff4d93e
|
Subproject commit 27d13ca9beeb5541f5fbf11959dced03dac39972
|
@ -7,26 +7,26 @@ include $(CLEAR_VARS)
|
|||||||
LOCAL_MODULE := libminiupnp-build
|
LOCAL_MODULE := libminiupnp-build
|
||||||
LOCAL_ARM_MODE := arm
|
LOCAL_ARM_MODE := arm
|
||||||
LOCAL_SRC_FILES := \
|
LOCAL_SRC_FILES := \
|
||||||
../miniupnp/miniupnpc/addr_is_reserved.c \
|
../miniupnp/miniupnpc/src/addr_is_reserved.c \
|
||||||
../miniupnp/miniupnpc/connecthostport.c \
|
../miniupnp/miniupnpc/src/connecthostport.c \
|
||||||
../miniupnp/miniupnpc/igd_desc_parse.c \
|
../miniupnp/miniupnpc/src/igd_desc_parse.c \
|
||||||
../miniupnp/miniupnpc/minisoap.c \
|
../miniupnp/miniupnpc/src/minisoap.c \
|
||||||
../miniupnp/miniupnpc/minissdpc.c \
|
../miniupnp/miniupnpc/src/minissdpc.c \
|
||||||
../miniupnp/miniupnpc/miniupnpc.c \
|
../miniupnp/miniupnpc/src/miniupnpc.c \
|
||||||
../miniupnp/miniupnpc/miniwget.c \
|
../miniupnp/miniupnpc/src/miniwget.c \
|
||||||
../miniupnp/miniupnpc/minixml.c \
|
../miniupnp/miniupnpc/src/minixml.c \
|
||||||
../miniupnp/miniupnpc/minixmlvalid.c \
|
../miniupnp/miniupnpc/src/minixmlvalid.c \
|
||||||
../miniupnp/miniupnpc/portlistingparse.c \
|
../miniupnp/miniupnpc/src/portlistingparse.c \
|
||||||
../miniupnp/miniupnpc/receivedata.c \
|
../miniupnp/miniupnpc/src/receivedata.c \
|
||||||
../miniupnp/miniupnpc/upnpcommands.c \
|
../miniupnp/miniupnpc/src/upnpcommands.c \
|
||||||
../miniupnp/miniupnpc/upnpdev.c \
|
../miniupnp/miniupnpc/src/upnpdev.c \
|
||||||
../miniupnp/miniupnpc/upnperrors.c \
|
../miniupnp/miniupnpc/src/upnperrors.c \
|
||||||
../miniupnp/miniupnpc/upnpreplyparse.c
|
../miniupnp/miniupnpc/src/upnpreplyparse.c
|
||||||
|
|
||||||
LOCAL_CFLAGS := -O3 -fsigned-char -fno-strict-aliasing -Wall -Wno-multichar -D__STDC_CONSTANT_MACROS
|
LOCAL_CFLAGS := -O3 -fsigned-char -fno-strict-aliasing -Wall -Wno-multichar -D__STDC_CONSTANT_MACROS
|
||||||
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti -Wno-reorder
|
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti -Wno-reorder
|
||||||
# Note: LOCAL_PATH is the directory this file is in.
|
# Note: LOCAL_PATH is the directory this file is in.
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. $(LOCAL_PATH)/../miniupnp ..
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. $(LOCAL_PATH)/../miniupnp/miniupnpc/src $(LOCAL_PATH)/../miniupnp/miniupnpc/include ..
|
||||||
|
|
||||||
ifeq ($(findstring armeabi-v7a,$(TARGET_ARCH_ABI)),armeabi-v7a)
|
ifeq ($(findstring armeabi-v7a,$(TARGET_ARCH_ABI)),armeabi-v7a)
|
||||||
LOCAL_CFLAGS := $(LOCAL_CFLAGS)
|
LOCAL_CFLAGS := $(LOCAL_CFLAGS)
|
||||||
|
@ -35,44 +35,38 @@
|
|||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="miniupnp\miniupnpc\addr_is_reserved.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\connecthostport.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\igd_desc_parse.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\minisoap.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\minissdpc.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\miniupnpc.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\miniwget.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\minixml.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\portlistingparse.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\receivedata.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnpcommands.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnpdev.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnperrors.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnpreplyparse.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\addr_is_reserved.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\connecthostport.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\igd_desc_parse.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minisoap.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minissdpc.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\miniupnpc.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\miniwget.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minixml.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minixmlvalid.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\portlistingparse.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\receivedata.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnpcommands.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnpdev.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnperrors.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnpreplyparse.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="miniupnp-build\Android.mk" />
|
|
||||||
<None Include="miniupnp\miniupnpc\msvc\genminiupnpcstrings.vbs">
|
<None Include="miniupnp\miniupnpc\msvc\genminiupnpcstrings.vbs">
|
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\addr_is_reserved.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\connecthostport.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\igd_desc_parse.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\minisoap.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\minissdpc.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\miniupnpc.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\miniwget.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\minixml.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\portlistingparse.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\receivedata.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnpcommands.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnpdev.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnperrors.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnpreplyparse.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\addr_is_reserved.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\codelength.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\connecthostport.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\minisoap.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\minissdpc.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\miniupnpc_socketdef.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\miniwget_private.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\minixml.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\receivedata.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\win32_snprintf.h" />
|
||||||
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<VCProjectVersion>16.0</VCProjectVersion>
|
<VCProjectVersion>16.0</VCProjectVersion>
|
||||||
<ProjectGuid>{D8A71225-178B-424E-96C1-CC3BE2C1B047}</ProjectGuid>
|
<ProjectGuid>{D8A71225-178B-424E-96C1-CC3BE2C1B047}</ProjectGuid>
|
||||||
@ -228,6 +222,7 @@
|
|||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
@ -257,6 +252,7 @@ cd..\..\..</Command>
|
|||||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
@ -288,6 +284,7 @@ cd..\..\..</Command>
|
|||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
@ -322,6 +319,7 @@ cd..\..\..</Command>
|
|||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
<OmitFramePointers>false</OmitFramePointers>
|
<OmitFramePointers>false</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
@ -351,6 +349,7 @@ cd..\..\..</Command>
|
|||||||
<PreprocessorDefinitions>DEBUG;_DEBUG;WIN32;_LIB;MINIUPNP_STATICLIB;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DEBUG;_DEBUG;WIN32;_LIB;MINIUPNP_STATICLIB;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
||||||
@ -369,6 +368,7 @@ cd..\..\..</Command>
|
|||||||
<PreprocessorDefinitions>DEBUG;_DEBUG;WIN32;_LIB;MINIUPNP_STATICLIB;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DEBUG;_DEBUG;WIN32;_LIB;MINIUPNP_STATICLIB;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
||||||
@ -392,6 +392,7 @@ cd..\..\..</Command>
|
|||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
||||||
@ -415,6 +416,7 @@ cd..\..\..</Command>
|
|||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<AdditionalIncludeDirectories>miniupnp/miniupnpc/include;miniupnp-build</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
<AdditionalDependencies>iphlpapi.lib</AdditionalDependencies>
|
||||||
|
@ -1,38 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnpcommands.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnperrors.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnpreplyparse.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\igd_desc_parse.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\minisoap.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\miniupnpc.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\miniwget.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\minixml.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\connecthostport.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\portlistingparse.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\receivedata.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\upnpdev.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\minissdpc.h" />
|
|
||||||
<ClInclude Include="miniupnp\miniupnpc\addr_is_reserved.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\igd_desc_parse.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minisoap.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\miniupnpc.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\miniwget.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minixml.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minixmlvalid.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnpcommands.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnperrors.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnpreplyparse.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\connecthostport.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\portlistingparse.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\receivedata.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\upnpdev.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\minissdpc.c" />
|
|
||||||
<ClCompile Include="miniupnp\miniupnpc\addr_is_reserved.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Filter Include="scripts">
|
<Filter Include="scripts">
|
||||||
<UniqueIdentifier>{c82edf03-bf88-478d-aaf5-2854df756cab}</UniqueIdentifier>
|
<UniqueIdentifier>{c82edf03-bf88-478d-aaf5-2854df756cab}</UniqueIdentifier>
|
||||||
@ -42,6 +9,33 @@
|
|||||||
<None Include="miniupnp\miniupnpc\msvc\genminiupnpcstrings.vbs">
|
<None Include="miniupnp\miniupnpc\msvc\genminiupnpcstrings.vbs">
|
||||||
<Filter>scripts</Filter>
|
<Filter>scripts</Filter>
|
||||||
</None>
|
</None>
|
||||||
<None Include="miniupnp-build\Android.mk" />
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\addr_is_reserved.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\connecthostport.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\igd_desc_parse.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\minisoap.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\minissdpc.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\miniupnpc.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\miniwget.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\minixml.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\portlistingparse.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\receivedata.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnpcommands.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnpdev.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnperrors.c" />
|
||||||
|
<ClCompile Include="miniupnp\miniupnpc\src\upnpreplyparse.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\addr_is_reserved.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\codelength.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\connecthostport.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\minisoap.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\minissdpc.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\miniupnpc_socketdef.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\miniwget_private.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\minixml.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\receivedata.h" />
|
||||||
|
<ClInclude Include="miniupnp\miniupnpc\src\win32_snprintf.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -893,23 +893,23 @@ SOURCES_C += $(EXTDIR)/udis86/decode.c \
|
|||||||
$(EXTDIR)/udis86/syn.c \
|
$(EXTDIR)/udis86/syn.c \
|
||||||
$(EXTDIR)/udis86/udis86.c
|
$(EXTDIR)/udis86/udis86.c
|
||||||
|
|
||||||
INCFLAGS += -I$(EXTDIR)/miniupnp-build
|
INCFLAGS += -I$(EXTDIR)/miniupnp-build -I$(EXTDIR)/miniupnp/miniupnpc/include -I$(EXTDIR)/miniupnp/miniupnpc/src
|
||||||
SOURCES_C += \
|
SOURCES_C += \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/addr_is_reserved.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/addr_is_reserved.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/connecthostport.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/connecthostport.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/igd_desc_parse.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/igd_desc_parse.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/minisoap.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/minisoap.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/minissdpc.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/minissdpc.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/miniupnpc.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/miniupnpc.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/miniwget.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/miniwget.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/minixml.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/minixml.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/minixmlvalid.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/minixmlvalid.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/portlistingparse.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/portlistingparse.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/receivedata.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/receivedata.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/upnpcommands.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/upnpcommands.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/upnpdev.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/upnpdev.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/upnperrors.c \
|
$(EXTDIR)/miniupnp/miniupnpc/src/upnperrors.c \
|
||||||
$(EXTDIR)/miniupnp/miniupnpc/upnpreplyparse.c
|
$(EXTDIR)/miniupnp/miniupnpc/src/upnpreplyparse.c
|
||||||
|
|
||||||
SOURCES_CXX += \
|
SOURCES_CXX += \
|
||||||
$(GPUDIR)/Vulkan/DrawEngineVulkan.cpp \
|
$(GPUDIR)/Vulkan/DrawEngineVulkan.cpp \
|
||||||
|
Loading…
Reference in New Issue
Block a user