Skip to content

Commit

Permalink
[cmake] Add treedata
Browse files Browse the repository at this point in the history
Configures subdirectories used for the different platforms.
  • Loading branch information
fetzerch committed Feb 12, 2016
1 parent 0fd896d commit 78ae187
Show file tree
Hide file tree
Showing 27 changed files with 171 additions and 0 deletions.
5 changes: 5 additions & 0 deletions project/cmake/treedata/common/addons.txt
@@ -0,0 +1,5 @@
lib/addons/library.kodi.adsp KODI_adsp
lib/addons/library.kodi.guilib KODI_guilib
lib/addons/library.xbmc.addon XBMC_addon
lib/addons/library.xbmc.codec XBMC_codec
lib/addons/library.xbmc.pvr XBMC_pvr
8 changes: 8 additions & 0 deletions project/cmake/treedata/common/cores.txt
@@ -0,0 +1,8 @@
xbmc/cores cores
xbmc/cores/AudioEngine cores/audioengine
xbmc/cores/DllLoader cores/dll-loader
xbmc/cores/DllLoader/exports cores/dll-loader/exports
xbmc/cores/DllLoader/exports/util cores/dll-loader/exports/util
xbmc/cores/ExternalPlayer cores/externalplayer
xbmc/cores/paplayer cores/paplayer
xbmc/cores/playercorefactory cores/playercorefactory
2 changes: 2 additions & 0 deletions project/cmake/treedata/common/events.txt
@@ -0,0 +1,2 @@
xbmc/events events
xbmc/events/windows events/windows
4 changes: 4 additions & 0 deletions project/cmake/treedata/common/externals.txt
@@ -0,0 +1,4 @@
xbmc/contrib/kissfft kissfft
tools/depends/native/libsquish-native squish
lib/libUPnP upnp
lib/libexif exif
3 changes: 3 additions & 0 deletions project/cmake/treedata/common/filesystem.txt
@@ -0,0 +1,3 @@
xbmc/filesystem filesystem
xbmc/filesystem/VideoDatabaseDirectory filesystem/videodatabase
xbmc/filesystem/MusicDatabaseDirectory filesystem/musicdatabase
9 changes: 9 additions & 0 deletions project/cmake/treedata/common/interfaces.txt
@@ -0,0 +1,9 @@
xbmc/interfaces interfaces
xbmc/interfaces/builtins interfaces/builtins
xbmc/interfaces/generic interfaces/generic
xbmc/interfaces/info interfaces/info
xbmc/interfaces/json-rpc interfaces/json-rpc
xbmc/interfaces/json-rpc/schema interfaces/json-rpc/schema
xbmc/interfaces/legacy interfaces/legacy
xbmc/interfaces/legacy/wsgi interfaces/legacy/wsgi
xbmc/interfaces/python interfaces/python
5 changes: 5 additions & 0 deletions project/cmake/treedata/common/music.txt
@@ -0,0 +1,5 @@
xbmc/music music
xbmc/music/dialogs music/dialogs
xbmc/music/infoscanner music/infoscanner
xbmc/music/tags music/tags
xbmc/music/windows music/windows
6 changes: 6 additions & 0 deletions project/cmake/treedata/common/network.txt
@@ -0,0 +1,6 @@
xbmc/network network
xbmc/network/dacp network/dacp
xbmc/network/httprequesthandler network/httprequesthandler
xbmc/network/httprequesthandler/python network/httprequesthandler/python
xbmc/network/upnp network/upnp
xbmc/network/websocket network/websocket
4 changes: 4 additions & 0 deletions project/cmake/treedata/common/peripherals.txt
@@ -0,0 +1,4 @@
xbmc/peripherals peripherals
xbmc/peripherals/bus peripherals/bus
xbmc/peripherals/devices peripherals/devices
xbmc/peripherals/dialogs peripherals/dialogs
3 changes: 3 additions & 0 deletions project/cmake/treedata/common/profiles.txt
@@ -0,0 +1,3 @@
xbmc/profiles profiles
xbmc/profiles/dialogs profiles/dialogs
xbmc/profiles/windows profiles/windows
7 changes: 7 additions & 0 deletions project/cmake/treedata/common/pvr.txt
@@ -0,0 +1,7 @@
xbmc/pvr pvr
xbmc/pvr/addons pvr/addons
xbmc/pvr/channels pvr/channels
xbmc/pvr/dialogs pvr/dialogs
xbmc/pvr/recordings pvr/recordings
xbmc/pvr/timers pvr/timers
xbmc/pvr/windows pvr/windows
4 changes: 4 additions & 0 deletions project/cmake/treedata/common/settings.txt
@@ -0,0 +1,4 @@
xbmc/settings settings
xbmc/settings/dialogs settings/dialogs
xbmc/settings/lib settings/lib
xbmc/settings/windows settings/windows
25 changes: 25 additions & 0 deletions project/cmake/treedata/common/subdirs.txt
@@ -0,0 +1,25 @@
xbmc xbmc
xbmc/addons addons
xbmc/commons commons
xbmc/cdrip cdrip
xbmc/dbwrappers dbwrappers
xbmc/dialogs dialogs
xbmc/epg epg
xbmc/guilib guilib
xbmc/input input
xbmc/listproviders listproviders
xbmc/media media
xbmc/messaging messaging
xbmc/messaging/helpers messagingHelpers
xbmc/pictures pictures
xbmc/platform platform
xbmc/playlists playlists
xbmc/powermanagement powermanagement
xbmc/programs programs
xbmc/rendering rendering
xbmc/storage storage
xbmc/threads threads
xbmc/utils utils
xbmc/view view
xbmc/windowing windowing
xbmc/windows windows
10 changes: 10 additions & 0 deletions project/cmake/treedata/common/tests.txt
@@ -0,0 +1,10 @@
xbmc/test test
xbmc/addons/test test/addons
xbmc/filesystem/test test/filesystem
xbmc/interfaces/python/test test/python
xbmc/music/tags/test test/music_tags
xbmc/network/test test/network
xbmc/threads/test test/threads
xbmc/utils/test test/utils
xbmc/video/test test/video
xbmc/cores/AudioEngine/Sinks/test test/audioengine_sinks
5 changes: 5 additions & 0 deletions project/cmake/treedata/common/video.txt
@@ -0,0 +1,5 @@
xbmc/video video
xbmc/video/dialogs video/dialogs
xbmc/video/jobs video/jobs
xbmc/video/videosync video/sync
xbmc/video/windows video/windows
11 changes: 11 additions & 0 deletions project/cmake/treedata/common/videoplayer.txt
@@ -0,0 +1,11 @@
xbmc/cores/VideoPlayer cores/VideoPlayer
xbmc/cores/VideoPlayer/DVDCodecs cores/VideoPlayer/codecs
xbmc/cores/VideoPlayer/DVDCodecs/Audio cores/VideoPlayer/codecs/audio
xbmc/cores/VideoPlayer/DVDCodecs/Overlay cores/VideoPlayer/codecs/overlay
xbmc/cores/VideoPlayer/DVDCodecs/Video cores/VideoPlayer/codecs/video
xbmc/cores/VideoPlayer/DVDDemuxers cores/VideoPlayer/demuxers
xbmc/cores/VideoPlayer/DVDInputStreams cores/VideoPlayer/inputstreams
xbmc/cores/VideoPlayer/DVDSubtitles cores/VideoPlayer/subtitles
xbmc/cores/VideoPlayer/VideoRenderers cores/VideoPlayer/videorenderers
xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders cores/VideoPlayer/videorenderers/shaders
xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender cores/VideoPlayer/videorenderers/hwdec
12 changes: 12 additions & 0 deletions project/cmake/treedata/darwin/subdirs.txt
@@ -0,0 +1,12 @@
xbmc/linux linuxsupport
xbmc/network/linux network/linux
xbmc/network/osx network/osx
xbmc/peripherals/bus/osx peripherals/bus/osx
xbmc/powermanagement/osx powermanagement/osx
xbmc/storage/osx storage/osx
xbmc/platform/posix posix
xbmc/platform/darwin platform_darwin
xbmc/platform/darwin/osx platform_osx
xbmc/filesystem/posix filesystem/posix
xbmc/utils/posix utils_posix
xbmc/windowing/osx windowing/osx
4 changes: 4 additions & 0 deletions project/cmake/treedata/freebsd/subdirs.txt
@@ -0,0 +1,4 @@
xbmc/linux linuxsupport
xbmc/input/linux input/linux
xbmc/network/linux network/linux
xbmc/freebsd freebsdsupport
11 changes: 11 additions & 0 deletions project/cmake/treedata/linux/subdirs.txt
@@ -0,0 +1,11 @@
xbmc/linux linuxsupport
xbmc/input/linux input/linux
xbmc/input/touch input/touch
xbmc/input/touch/generic input/touch/generic
xbmc/network/linux network/linux
xbmc/peripherals/bus/linux peripherals/bus/linux
xbmc/powermanagement/linux powermanagement/linux
xbmc/storage/linux storage/linux
xbmc/filesystem/posix filesystem/posix
xbmc/utils/posix utils_posix
xbmc/platform/posix posix
1 change: 1 addition & 0 deletions project/cmake/treedata/optional/common/X11.txt
@@ -0,0 +1 @@
xbmc/windowing/X11 windowing/X11 # X11
1 change: 1 addition & 0 deletions project/cmake/treedata/optional/common/cec.txt
@@ -0,0 +1 @@
xbmc/peripherals/bus/virtual peripherals/bus/virtual # CEC
1 change: 1 addition & 0 deletions project/cmake/treedata/optional/common/nonfree.txt
@@ -0,0 +1 @@
lib/UnrarXLib unrarxlib # NONFREE
1 change: 1 addition & 0 deletions project/cmake/treedata/optional/common/opengl.txt
@@ -0,0 +1 @@
xbmc/rendering/gl rendering/gl # OPENGL
1 change: 1 addition & 0 deletions project/cmake/treedata/optional/common/opengles.txt
@@ -0,0 +1 @@
xbmc/rendering/gles rendering/gles # OPENGLES
1 change: 1 addition & 0 deletions project/cmake/treedata/rbpi/omxplayer.txt
@@ -0,0 +1 @@
xbmc/cores/omxplayer cores/omxplayer
12 changes: 12 additions & 0 deletions project/cmake/treedata/rbpi/subdirs.txt
@@ -0,0 +1,12 @@
xbmc/linux linuxsupport
xbmc/input/linux input/linux
xbmc/input/touch input/touch
xbmc/input/touch/generic input/touch/generic
xbmc/network/linux network/linux
xbmc/peripherals/bus/linux peripherals/bus/linux
xbmc/powermanagement/linux powermanagement/linux
xbmc/storage/linux storage/linux
xbmc/filesystem/posix filesystem/posix
xbmc/utils/posix utils_posix
xbmc/main/posix main_posix
xbmc/windowing/egl windowing/egl # EGL
15 changes: 15 additions & 0 deletions project/cmake/treedata/windows/subdirs.txt
@@ -0,0 +1,15 @@
xbmc/win32 win32support
xbmc/input/windows input/windows
xbmc/input/touch input/touch
xbmc/input/touch/generic input/touch/generic
xbmc/network/windows network/windows
xbmc/network/mdns network/mdns
xbmc/peripherals/bus/win32 peripherals/bus/win32
xbmc/powermanagement/windows powermanagement/windows
xbmc/storage/windows storage/windows
xbmc/filesystem/win32 filesystem/win32
xbmc/utils/win32 utils_win32
xbmc/platform/win32 platform_win32
xbmc/rendering/dx rendering_dx
xbmc/threads/platform/win threads_win
xbmc/windowing/windows windowing/windows

0 comments on commit 78ae187

Please sign in to comment.