set(SOURCES Application.cpp ApplicationPlayer.cpp AppParamParser.cpp Autorun.cpp AutoSwitch.cpp BackgroundInfoLoader.cpp ContextMenuItem.cpp ContextMenuManager.cpp CueDocument.cpp DatabaseManager.cpp DbUrl.cpp DynamicDll.cpp FileItem.cpp FileItemListModification.cpp GUIInfoManager.cpp GUILargeTextureManager.cpp GUIPassword.cpp InfoScanner.cpp LangInfo.cpp MediaSource.cpp NfoFile.cpp PasswordManager.cpp PlayListPlayer.cpp PartyModeManager.cpp SectionLoader.cpp ServiceBroker.cpp ServiceManager.cpp SystemGlobals.cpp TextureCache.cpp TextureCacheJob.cpp TextureDatabase.cpp ThumbLoader.cpp ThumbnailCache.cpp URL.cpp Util.cpp XBApplicationEx.cpp XBDateTime.cpp) set(HEADERS AppParamParser.h Application.h ApplicationPlayer.h AutoSwitch.h Autorun.h BackgroundInfoLoader.h CompileInfo.h ContextMenuItem.h ContextMenuManager.h CueDocument.h DatabaseManager.h DbUrl.h DllPaths.h DllPaths_win32.h DynamicDll.h FileItem.h FileItemListModification.h GUIInfoManager.h GUILargeTextureManager.h GUIPassword.h GUIUserMessages.h IFileItemListModifier.h IProgressCallback.h InfoScanner.h LangInfo.h MediaSource.h NfoFile.h PartyModeManager.h PasswordManager.h PlayListPlayer.h SectionLoader.h ServiceBroker.h ServiceManager.h SortFileItem.h TextureCache.h TextureCacheJob.h TextureDatabase.h ThumbLoader.h ThumbnailCache.h URL.h Util.h XBApplicationEx.h XBDateTime.h system.h system_gl.h) core_add_library(xbmc) if(CAP_FOUND) target_compile_definitions(${CORE_LIBRARY} PRIVATE -DHAVE_LIBCAP=1) endif()