1 --- /dev/null 2018-02-07 16:00:11.607220700 +0100
2 +++ b/lib/libUPnP/CMakeLists.txt 2018-02-12 11:03:15.002174234 +0100
4 +set(SOURCES Platinum/Source/Core/PltAction.cpp
5 + Platinum/Source/Core/PltArgument.cpp
6 + Platinum/Source/Core/PltConstants.cpp
7 + Platinum/Source/Core/PltCtrlPoint.cpp
8 + Platinum/Source/Core/PltCtrlPointTask.cpp
9 + Platinum/Source/Core/PltDatagramStream.cpp
10 + Platinum/Source/Core/PltDeviceData.cpp
11 + Platinum/Source/Core/PltDeviceHost.cpp
12 + Platinum/Source/Core/PltEvent.cpp
13 + Platinum/Source/Core/PltHttp.cpp
14 + Platinum/Source/Core/PltHttpClientTask.cpp
15 + Platinum/Source/Core/PltHttpServer.cpp
16 + Platinum/Source/Core/PltHttpServerTask.cpp
17 + Platinum/Source/Core/PltIconsData.cpp
18 + Platinum/Source/Core/PltMimeType.cpp
19 + Platinum/Source/Core/PltProtocolInfo.cpp
20 + Platinum/Source/Core/PltService.cpp
21 + Platinum/Source/Core/PltSsdp.cpp
22 + Platinum/Source/Core/PltStateVariable.cpp
23 + Platinum/Source/Core/PltTaskManager.cpp
24 + Platinum/Source/Core/PltThreadTask.cpp
25 + Platinum/Source/Core/PltUPnP.cpp
26 + Platinum/Source/Devices/MediaServer/PltDidl.cpp
27 + Platinum/Source/Devices/MediaServer/PltFileMediaServer.cpp
28 + Platinum/Source/Devices/MediaServer/PltMediaBrowser.cpp
29 + Platinum/Source/Devices/MediaServer/PltMediaCache.cpp
30 + Platinum/Source/Devices/MediaServer/PltMediaItem.cpp
31 + Platinum/Source/Devices/MediaServer/PltMediaServer.cpp
32 + Platinum/Source/Devices/MediaServer/ConnectionManagerSCPD.cpp
33 + Platinum/Source/Devices/MediaServer/ContentDirectorySCPD.cpp
34 + Platinum/Source/Devices/MediaServer/ContentDirectorywSearchSCPD.cpp
35 + Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp
36 + Neptune/Source/Core/Neptune.cpp
37 + Neptune/Source/Core/NptAutomaticCleaner.cpp
38 + Neptune/Source/Core/NptBase64.cpp
39 + Neptune/Source/Core/NptBufferedStreams.cpp
40 + Neptune/Source/Core/NptCommon.cpp
41 + Neptune/Source/Core/NptDataBuffer.cpp
42 + Neptune/Source/Core/NptDebug.cpp
43 + Neptune/Source/Core/NptFile.cpp
44 + Neptune/Source/Core/NptHash.cpp
45 + Neptune/Source/Core/NptHttp.cpp
46 + Neptune/Source/Core/NptList.cpp
47 + Neptune/Source/Core/NptLogging.cpp
48 + Neptune/Source/Core/NptMessaging.cpp
49 + Neptune/Source/Core/NptNetwork.cpp
50 + Neptune/Source/Core/NptQueue.cpp
51 + Neptune/Source/Core/NptResults.cpp
52 + Neptune/Source/Core/NptRingBuffer.cpp
53 + Neptune/Source/Core/NptSimpleMessageQueue.cpp
54 + Neptune/Source/Core/NptSockets.cpp
55 + Neptune/Source/Core/NptStreams.cpp
56 + Neptune/Source/Core/NptStrings.cpp
57 + Neptune/Source/Core/NptSystem.cpp
58 + Neptune/Source/Core/NptThreads.cpp
59 + Neptune/Source/Core/NptTime.cpp
60 + Neptune/Source/Core/NptTls.cpp
61 + Neptune/Source/Core/NptUri.cpp
62 + Neptune/Source/Core/NptUtils.cpp
63 + Neptune/Source/Core/NptXml.cpp
64 + Neptune/Source/System/Bsd/NptBsdResolver.cpp
65 + Neptune/Source/System/Bsd/NptBsdSockets.cpp
66 + Neptune/Source/System/StdC/NptStdcDebug.cpp
67 + Neptune/Source/System/StdC/NptStdcEnvironment.cpp
68 + Platinum/Source/Devices/MediaRenderer/PltMediaRenderer.cpp
69 + Platinum/Source/Devices/MediaRenderer/PltMediaController.cpp
70 + Platinum/Source/Devices/MediaRenderer/AVTransportSCPD.cpp
71 + Platinum/Source/Devices/MediaRenderer/RdrConnectionManagerSCPD.cpp
72 + Platinum/Source/Devices/MediaRenderer/RenderingControlSCPD.cpp
73 + Platinum/Source/Devices/MediaConnect/X_MS_MediaReceiverRegistrarSCPD.cpp
74 + Platinum/Source/Devices/MediaConnect/PltMediaConnect.cpp
75 + Neptune/Source/System/Posix/NptPosixEnvironment.cpp)
77 +if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
78 + list(APPEND SOURCES Neptune/Source/System/Posix/NptPosixSystem.cpp
79 + Neptune/Source/System/Posix/NptSelectableMessageQueue.cpp
80 + Neptune/Source/System/Posix/NptPosixQueue.cpp
81 + Neptune/Source/System/Posix/NptPosixThreads.cpp
82 + Neptune/Source/System/Posix/NptPosixTime.cpp
83 + Neptune/Source/System/Bsd/NptBsdNetwork.cpp)
85 + list(APPEND SOURCES Neptune/Source/System/Apple/NptAppleAutoreleasePool.mm)
87 + list(APPEND SOURCES Neptune/Source/System/Null/NptNullAutoreleasePool.cpp)
90 + list(APPEND SOURCES Neptune/Source/System/Win32/NptWin32Console.cpp
91 + Neptune/Source/System/Win32/NptWin32Debug.cpp
92 + Neptune/Source/System/Win32/NptWin32DynamicLibraries.cpp
93 + Neptune/Source/System/Win32/NptWin32MessageQueue.cpp
94 + Neptune/Source/System/Win32/NptWin32Network.cpp
95 + Neptune/Source/System/Win32/NptWin32Queue.cpp
96 + Neptune/Source/System/Win32/NptWin32SerialPort.cpp
97 + Neptune/Source/System/Win32/NptWin32System.cpp
98 + Neptune/Source/System/Win32/NptWin32Threads.cpp
99 + Neptune/Source/System/Win32/NptWin32Time.cpp)
102 +if(CORE_SYSTEM_NAME STREQUAL "freebsd")
103 + list(APPEND SOURCES Neptune/Source/System/Bsd/NptBsdResolver.cpp
104 + Neptune/Source/System/Bsd/NptBsdSockets.cpp)
108 +add_library(upnp STATIC ${SOURCES} ${HEADERS})
109 +target_compile_definitions(upnp PUBLIC -DNPT_CONFIG_ENABLE_LOGGING)
110 +if(CORE_SYSTEM_NAME STREQUAL "freebsd")
111 + target_compile_definitions(upnp PUBLIC -DNPT_CONFIG_HAVE_GETADDRINFO)
114 +target_include_directories(upnp PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
115 + Platinum/Source/Core
116 + Platinum/Source/Platinum
117 + Platinum/Source/Devices/MediaConnect
118 + Platinum/Source/Devices/MediaRenderer
119 + Platinum/Source/Devices/MediaServer
120 + Platinum/Source/Extras
121 + Neptune/Source/Core
122 + Neptune/Source/System/Posix)
123 +if(CORE_SYSTEM_NAME STREQUAL windows OR CORE_SYSTEM_NAME STREQUAL windowsstore)
124 + target_include_directories(upnp PRIVATE Neptune/Source/System/Win32)
126 +set_target_properties(upnp PROPERTIES FOLDER lib)
127 +source_group_by_folder(upnp)
128 +set(core_DEPENDS upnp ${core_DEPENDS} CACHE STRING "" FORCE)
130 +if(CORE_SYSTEM_NAME STREQUAL windowsstore)
131 + set_target_properties(upnp PROPERTIES STATIC_LIBRARY_FLAGS "/ignore:4264")