1 set(SOURCES ActorProtocol.cpp
25 FileExtensionProvider.cpp
42 LegacyPathTranslation.cpp
75 VC1BitstreamParser.cpp
80 set(HEADERS ActorProtocol.h
106 FileExtensionProvider.h
136 LegacyPathTranslation.h
146 params_check_macros.h
185 list(APPEND SOURCES XSLTUtils.cpp)
186 list(APPEND HEADERS XSLTUtils.h)
189 list(APPEND SOURCES EGLUtils.cpp
191 list(APPEND HEADERS EGLUtils.h
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)
200 if(OPENGL_FOUND OR OPENGLES_FOUND)
201 list(APPEND SOURCES GLUtils.cpp)
202 list(APPEND HEADERS GLUtils.h)
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)
216 if(HAVE_LINUX_MEMFD AND HAVE_LINUX_UDMABUF)
217 list(APPEND SOURCES UDMABufferObject.cpp)
218 list(APPEND HEADERS UDMABufferObject.h)
221 if(HAVE_LINUX_DMA_HEAP)
222 list(APPEND SOURCES DMAHeapBufferObject.cpp)
223 list(APPEND HEADERS DMAHeapBufferObject.h)
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)
232 list(APPEND SOURCES EGLImage.cpp)
233 list(APPEND HEADERS EGLImage.h)
237 list(APPEND SOURCES DRMHelpers.cpp)
238 list(APPEND HEADERS DRMHelpers.h)
242 core_add_library(utils)
244 if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
246 target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)