[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / utils / CMakeLists.txt
blob8e1328999ff99762be1a6bdc5e8ad84360f53923
1 set(SOURCES ActorProtocol.cpp
2             AlarmClock.cpp
3             AliasShortcutUtils.cpp
4             Archive.cpp
5             Base64.cpp
6             BitstreamConverter.cpp
7             BitstreamReader.cpp
8             BitstreamStats.cpp
9             BitstreamWriter.cpp
10             BooleanLogic.cpp
11             CharArrayParser.cpp
12             CharsetConverter.cpp
13             CharsetDetection.cpp
14             ColorUtils.cpp
15             ContentUtils.cpp
16             CPUInfo.cpp
17             Crc32.cpp
18             CSSUtils.cpp
19             DatabaseUtils.cpp
20             Digest.cpp
21             DiscsUtils.cpp
22             EndianSwap.cpp
23             EmbeddedArt.cpp
24             ExecString.cpp
25             FileExtensionProvider.cpp
26             Fanart.cpp
27             FileOperationJob.cpp
28             FileUtils.cpp
29             FontUtils.cpp
30             GroupUtils.cpp
31             HTMLUtil.cpp
32             HttpHeader.cpp
33             HttpParser.cpp
34             HttpRangeUtils.cpp
35             HttpResponse.cpp
36             InfoLoader.cpp
37             JobManager.cpp
38             JSONVariantParser.cpp
39             JSONVariantWriter.cpp
40             LabelFormatter.cpp
41             LangCodeExpander.cpp
42             LegacyPathTranslation.cpp
43             Locale.cpp
44             log.cpp
45             Mime.cpp
46             MovingSpeed.cpp
47             Observer.cpp
48             POUtils.cpp
49             PlayerUtils.cpp
50             RecentlyAddedJob.cpp
51             RegExp.cpp
52             rfft.cpp
53             RingBuffer.cpp
54             RssManager.cpp
55             RssReader.cpp
56             ProgressJob.cpp
57             SaveFileStateJob.cpp
58             ScraperParser.cpp
59             ScraperUrl.cpp
60             Screenshot.cpp
61             SortUtils.cpp
62             Speed.cpp
63             StreamDetails.cpp
64             StreamUtils.cpp
65             StringUtils.cpp
66             StringValidation.cpp
67             SystemInfo.cpp
68             Temperature.cpp
69             TextSearch.cpp
70             TimeUtils.cpp
71             URIUtils.cpp
72             UrlOptions.cpp
73             Utf8Utils.cpp
74             Variant.cpp
75             VC1BitstreamParser.cpp
76             Vector.cpp
77             XBMCTinyXML.cpp
78             XMLUtils.cpp)
80 set(HEADERS ActorProtocol.h
81             AlarmClock.h
82             AliasShortcutUtils.h
83             Archive.h
84             Base64.h
85             BitstreamConverter.h
86             BitstreamReader.h
87             BitstreamStats.h
88             BitstreamWriter.h
89             BooleanLogic.h
90             CharArrayParser.h
91             CharsetConverter.h
92             CharsetDetection.h
93             CPUInfo.h
94             ColorUtils.h
95             ComponentContainer.h
96             ContentUtils.h
97             Crc32.h
98             CSSUtils.h
99             DatabaseUtils.h
100             Digest.h
101             DiscsUtils.h
102             EndianSwap.h
103             EventStream.h
104             EventStreamDetail.h
105             ExecString.h
106             FileExtensionProvider.h
107             Fanart.h
108             FileOperationJob.h
109             FileUtils.h
110             FontUtils.h
111             Geometry.h
112             GlobalsHandling.h
113             GroupUtils.h
114             HDRCapabilities.h
115             HTMLUtil.h
116             HttpHeader.h
117             HttpParser.h
118             HttpRangeUtils.h
119             HttpResponse.h
120             IArchivable.h
121             IBufferObject.h
122             ILocalizer.h
123             InfoLoader.h
124             IPlatformLog.h
125             IRssObserver.h
126             IScreenshotSurface.h
127             ISerializable.h
128             ISortable.h
129             IXmlDeserializable.h
130             Job.h
131             JobManager.h
132             JSONVariantParser.h
133             JSONVariantWriter.h
134             LabelFormatter.h
135             LangCodeExpander.h
136             LegacyPathTranslation.h
137             Locale.h
138             log.h
139             logtypes.h
140             Map.h
141             MathUtils.h
142             MemUtils.h
143             Mime.h
144             MovingSpeed.h
145             Observer.h
146             params_check_macros.h
147             POUtils.h
148             PlayerUtils.h
149             ProgressJob.h
150             RecentlyAddedJob.h
151             RegExp.h
152             rfft.h
153             RingBuffer.h
154             RssManager.h
155             RssReader.h
156             SaveFileStateJob.h
157             ScopeGuard.h
158             ScraperParser.h
159             ScraperUrl.h
160             Screenshot.h
161             SortUtils.h
162             Speed.h
163             Stopwatch.h
164             StreamDetails.h
165             StreamUtils.h
166             StringUtils.h
167             StringValidation.h
168             SystemInfo.h
169             Temperature.h
170             TextSearch.h
171             TimeFormat.h
172             TimeUtils.h
173             TransformMatrix.h
174             URIUtils.h
175             UrlOptions.h
176             Utf8Utils.h
177             Variant.h
178             VC1BitstreamParser.h
179             Vector.h
180             XBMCTinyXML.h
181             XMLUtils.h
182             XTimeUtils.h)
184 if(XSLT_FOUND)
185   list(APPEND SOURCES XSLTUtils.cpp)
186   list(APPEND HEADERS XSLTUtils.h)
187 endif()
188 if(EGL_FOUND)
189   list(APPEND SOURCES EGLUtils.cpp
190                       EGLFence.cpp)
191   list(APPEND HEADERS EGLUtils.h
192                       EGLFence.h)
193 endif()
195 # The large map trips the clang optimizer
196 if(CMAKE_CXX_COMPILER_ID STREQUAL Clang)
197   set_source_files_properties(Mime.cpp PROPERTIES COMPILE_FLAGS -O0)
198 endif()
200 if(OPENGL_FOUND OR OPENGLES_FOUND)
201   list(APPEND SOURCES GLUtils.cpp)
202   list(APPEND HEADERS GLUtils.h)
203 endif()
205 if("gbm" IN_LIST CORE_PLATFORM_NAME_LC OR "wayland" IN_LIST CORE_PLATFORM_NAME_LC)
206   list(APPEND SOURCES BufferObject.cpp
207                       BufferObjectFactory.cpp)
208   list(APPEND HEADERS BufferObject.h
209                       BufferObjectFactory.h)
211   if("gbm" IN_LIST CORE_PLATFORM_NAME_LC)
212     list(APPEND SOURCES DumbBufferObject.cpp)
213     list(APPEND SOURCES DumbBufferObject.h)
214   endif()
216   if(HAVE_LINUX_MEMFD AND HAVE_LINUX_UDMABUF)
217     list(APPEND SOURCES UDMABufferObject.cpp)
218     list(APPEND HEADERS UDMABufferObject.h)
219   endif()
221   if(HAVE_LINUX_DMA_HEAP)
222     list(APPEND SOURCES DMAHeapBufferObject.cpp)
223     list(APPEND HEADERS DMAHeapBufferObject.h)
224   endif()
226   if(GBM_HAS_BO_MAP AND "gbm" IN_LIST CORE_PLATFORM_NAME_LC)
227     list(APPEND SOURCES GBMBufferObject.cpp)
228     list(APPEND HEADERS GBMBufferObject.h)
229   endif()
231   if(EGL_FOUND)
232     list(APPEND SOURCES EGLImage.cpp)
233     list(APPEND HEADERS EGLImage.h)
234   endif()
236   if(LIBDRM_FOUND)
237     list(APPEND SOURCES DRMHelpers.cpp)
238     list(APPEND HEADERS DRMHelpers.h)
239   endif()
240 endif()
242 core_add_library(utils)
244 if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
245   if(HAVE_SSE2)
246     target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
247   endif()
248 endif()