diff options
| author | manuel <manuel@mausz.at> | 2020-10-19 00:52:24 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2020-10-19 00:52:24 +0200 |
| commit | be933ef2241d79558f91796cc5b3a161f72ebf9c (patch) | |
| tree | fe3ab2f130e20c99001f2d7a81d610c78c96a3f4 /xbmc/utils/CMakeLists.txt | |
| parent | 5f8335c1e49ce108ef3481863833c98efa00411b (diff) | |
| download | kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.tar.gz kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.tar.bz2 kodi-pvr-build-be933ef2241d79558f91796cc5b3a161f72ebf9c.zip | |
sync with upstream
Diffstat (limited to 'xbmc/utils/CMakeLists.txt')
| -rw-r--r-- | xbmc/utils/CMakeLists.txt | 227 |
1 files changed, 227 insertions, 0 deletions
diff --git a/xbmc/utils/CMakeLists.txt b/xbmc/utils/CMakeLists.txt new file mode 100644 index 0000000..a04870e --- /dev/null +++ b/xbmc/utils/CMakeLists.txt | |||
| @@ -0,0 +1,227 @@ | |||
| 1 | set(SOURCES ActorProtocol.cpp | ||
| 2 | AlarmClock.cpp | ||
| 3 | AliasShortcutUtils.cpp | ||
| 4 | Archive.cpp | ||
| 5 | auto_buffer.cpp | ||
| 6 | Base64.cpp | ||
| 7 | BitstreamConverter.cpp | ||
| 8 | BitstreamReader.cpp | ||
| 9 | BitstreamStats.cpp | ||
| 10 | BitstreamWriter.cpp | ||
| 11 | BooleanLogic.cpp | ||
| 12 | CharsetConverter.cpp | ||
| 13 | CharsetDetection.cpp | ||
| 14 | ColorUtils.cpp | ||
| 15 | CPUInfo.cpp | ||
| 16 | Crc32.cpp | ||
| 17 | CryptThreading.cpp | ||
| 18 | DatabaseUtils.cpp | ||
| 19 | Digest.cpp | ||
| 20 | EndianSwap.cpp | ||
| 21 | EmbeddedArt.cpp | ||
| 22 | FileExtensionProvider.cpp | ||
| 23 | Fanart.cpp | ||
| 24 | FileOperationJob.cpp | ||
| 25 | FileUtils.cpp | ||
| 26 | GroupUtils.cpp | ||
| 27 | HTMLUtil.cpp | ||
| 28 | HttpHeader.cpp | ||
| 29 | HttpParser.cpp | ||
| 30 | HttpRangeUtils.cpp | ||
| 31 | HttpResponse.cpp | ||
| 32 | InfoLoader.cpp | ||
| 33 | JobManager.cpp | ||
| 34 | JSONVariantParser.cpp | ||
| 35 | JSONVariantWriter.cpp | ||
| 36 | LabelFormatter.cpp | ||
| 37 | LangCodeExpander.cpp | ||
| 38 | LegacyPathTranslation.cpp | ||
| 39 | Locale.cpp | ||
| 40 | log.cpp | ||
| 41 | Mime.cpp | ||
| 42 | Observer.cpp | ||
| 43 | POUtils.cpp | ||
| 44 | RecentlyAddedJob.cpp | ||
| 45 | RegExp.cpp | ||
| 46 | rfft.cpp | ||
| 47 | RingBuffer.cpp | ||
| 48 | RssManager.cpp | ||
| 49 | RssReader.cpp | ||
| 50 | ProgressJob.cpp | ||
| 51 | SaveFileStateJob.cpp | ||
| 52 | ScraperParser.cpp | ||
| 53 | ScraperUrl.cpp | ||
| 54 | Screenshot.cpp | ||
| 55 | SortUtils.cpp | ||
| 56 | Speed.cpp | ||
| 57 | StaticLoggerBase.cpp | ||
| 58 | Stopwatch.cpp | ||
| 59 | StreamDetails.cpp | ||
| 60 | StreamUtils.cpp | ||
| 61 | StringUtils.cpp | ||
| 62 | StringValidation.cpp | ||
| 63 | SystemInfo.cpp | ||
| 64 | Temperature.cpp | ||
| 65 | TextSearch.cpp | ||
| 66 | TimeUtils.cpp | ||
| 67 | URIUtils.cpp | ||
| 68 | UrlOptions.cpp | ||
| 69 | Utf8Utils.cpp | ||
| 70 | Variant.cpp | ||
| 71 | VC1BitstreamParser.cpp | ||
| 72 | Vector.cpp | ||
| 73 | XBMCTinyXML.cpp | ||
| 74 | XMLUtils.cpp) | ||
| 75 | |||
| 76 | set(HEADERS ActorProtocol.h | ||
| 77 | AlarmClock.h | ||
| 78 | AliasShortcutUtils.h | ||
| 79 | Archive.h | ||
| 80 | auto_buffer.h | ||
| 81 | Base64.h | ||
| 82 | BitstreamConverter.h | ||
| 83 | BitstreamReader.h | ||
| 84 | BitstreamStats.h | ||
| 85 | BitstreamWriter.h | ||
| 86 | BooleanLogic.h | ||
| 87 | CharsetConverter.h | ||
| 88 | CharsetDetection.h | ||
| 89 | CPUInfo.h | ||
| 90 | Color.h | ||
| 91 | ColorUtils.h | ||
| 92 | Crc32.h | ||
| 93 | CryptThreading.h | ||
| 94 | DatabaseUtils.h | ||
| 95 | Digest.h | ||
| 96 | EndianSwap.h | ||
| 97 | EventStream.h | ||
| 98 | EventStreamDetail.h | ||
| 99 | FileExtensionProvider.h | ||
| 100 | Fanart.h | ||
| 101 | FileOperationJob.h | ||
| 102 | FileUtils.h | ||
| 103 | Geometry.h | ||
| 104 | GlobalsHandling.h | ||
| 105 | GroupUtils.h | ||
| 106 | HTMLUtil.h | ||
| 107 | HttpHeader.h | ||
| 108 | HttpParser.h | ||
| 109 | HttpRangeUtils.h | ||
| 110 | HttpResponse.h | ||
| 111 | IArchivable.h | ||
| 112 | IBufferObject.h | ||
| 113 | ILocalizer.h | ||
| 114 | InfoLoader.h | ||
| 115 | IPlatformLog.h | ||
| 116 | IRssObserver.h | ||
| 117 | IScreenshotSurface.h | ||
| 118 | ISerializable.h | ||
| 119 | ISortable.h | ||
| 120 | IXmlDeserializable.h | ||
| 121 | Job.h | ||
| 122 | JobManager.h | ||
| 123 | JSONVariantParser.h | ||
| 124 | JSONVariantWriter.h | ||
| 125 | LabelFormatter.h | ||
| 126 | LangCodeExpander.h | ||
| 127 | LegacyPathTranslation.h | ||
| 128 | Locale.h | ||
| 129 | log.h | ||
| 130 | logtypes.h | ||
| 131 | MathUtils.h | ||
| 132 | MemUtils.h | ||
| 133 | Mime.h | ||
| 134 | Observer.h | ||
| 135 | params_check_macros.h | ||
| 136 | POUtils.h | ||
| 137 | ProgressJob.h | ||
| 138 | RecentlyAddedJob.h | ||
| 139 | RegExp.h | ||
| 140 | rfft.h | ||
| 141 | RingBuffer.h | ||
| 142 | RssManager.h | ||
| 143 | RssReader.h | ||
| 144 | SaveFileStateJob.h | ||
| 145 | ScopeGuard.h | ||
| 146 | ScraperParser.h | ||
| 147 | ScraperUrl.h | ||
| 148 | Screenshot.h | ||
| 149 | SortUtils.h | ||
| 150 | Speed.h | ||
| 151 | StaticLoggerBase.h | ||
| 152 | Stopwatch.h | ||
| 153 | StreamDetails.h | ||
| 154 | StreamUtils.h | ||
| 155 | StringUtils.h | ||
| 156 | StringValidation.h | ||
| 157 | SystemInfo.h | ||
| 158 | Temperature.h | ||
| 159 | TextSearch.h | ||
| 160 | TimeUtils.h | ||
| 161 | TransformMatrix.h | ||
| 162 | URIUtils.h | ||
| 163 | UrlOptions.h | ||
| 164 | Utf8Utils.h | ||
| 165 | Variant.h | ||
| 166 | VC1BitstreamParser.h | ||
| 167 | Vector.h | ||
| 168 | XBMCTinyXML.h | ||
| 169 | XMLUtils.h) | ||
| 170 | |||
| 171 | if(XSLT_FOUND) | ||
| 172 | list(APPEND SOURCES XSLTUtils.cpp) | ||
| 173 | list(APPEND HEADERS XSLTUtils.h) | ||
| 174 | endif() | ||
| 175 | if(EGL_FOUND) | ||
| 176 | list(APPEND SOURCES EGLUtils.cpp | ||
| 177 | EGLFence.cpp) | ||
| 178 | list(APPEND HEADERS EGLUtils.h | ||
| 179 | EGLFence.h) | ||
| 180 | endif() | ||
| 181 | |||
| 182 | # The large map trips the clang optimizer | ||
| 183 | if(CMAKE_CXX_COMPILER_ID STREQUAL Clang) | ||
| 184 | set_source_files_properties(Mime.cpp PROPERTIES COMPILE_FLAGS -O0) | ||
| 185 | endif() | ||
| 186 | |||
| 187 | if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) | ||
| 188 | list(APPEND SOURCES GLUtils.cpp) | ||
| 189 | list(APPEND HEADERS GLUtils.h) | ||
| 190 | endif() | ||
| 191 | |||
| 192 | if(CORE_PLATFORM_NAME_LC STREQUAL gbm OR CORE_PLATFORM_NAME_LC STREQUAL wayland) | ||
| 193 | list(APPEND SOURCES BufferObject.cpp | ||
| 194 | BufferObjectFactory.cpp | ||
| 195 | EGLImage.cpp) | ||
| 196 | list(APPEND HEADERS BufferObject.h | ||
| 197 | BufferObjectFactory.h | ||
| 198 | EGLImage.h) | ||
| 199 | |||
| 200 | if(CORE_PLATFORM_NAME_LC STREQUAL gbm) | ||
| 201 | list(APPEND SOURCES DumbBufferObject.cpp) | ||
| 202 | list(APPEND SOURCES DumbBufferObject.h) | ||
| 203 | endif() | ||
| 204 | |||
| 205 | if(HAVE_LINUX_MEMFD AND HAVE_LINUX_UDMABUF) | ||
| 206 | list(APPEND SOURCES UDMABufferObject.cpp) | ||
| 207 | list(APPEND HEADERS UDMABufferObject.h) | ||
| 208 | endif() | ||
| 209 | |||
| 210 | if(HAVE_LINUX_DMA_HEAP) | ||
| 211 | list(APPEND SOURCES DMAHeapBufferObject.cpp) | ||
| 212 | list(APPEND HEADERS DMAHeapBufferObject.h) | ||
| 213 | endif() | ||
| 214 | |||
| 215 | if(GBM_HAS_BO_MAP) | ||
| 216 | list(APPEND SOURCES GBMBufferObject.cpp) | ||
| 217 | list(APPEND HEADERS GBMBufferObject.h) | ||
| 218 | endif() | ||
| 219 | endif() | ||
| 220 | |||
| 221 | core_add_library(utils) | ||
| 222 | |||
| 223 | if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) | ||
| 224 | if(HAVE_SSE2) | ||
| 225 | target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) | ||
| 226 | endif() | ||
| 227 | endif() | ||
