| 1 |
set(SOURCES AddonsDirectory.cpp |
| 2 |
AudioBookFileDirectory.cpp |
| 3 |
CacheStrategy.cpp |
| 4 |
CircularCache.cpp |
| 5 |
CurlFile.cpp |
| 6 |
DAVCommon.cpp |
| 7 |
DAVDirectory.cpp |
| 8 |
DAVFile.cpp |
| 9 |
DirectoryCache.cpp |
| 10 |
Directory.cpp |
| 11 |
DirectoryFactory.cpp |
| 12 |
DirectoryHistory.cpp |
| 13 |
DllLibCurl.cpp |
| 14 |
EventsDirectory.cpp |
| 15 |
FavouritesDirectory.cpp |
| 16 |
FileCache.cpp |
| 17 |
File.cpp |
| 18 |
FileDirectoryFactory.cpp |
| 19 |
FileFactory.cpp |
| 20 |
FTPDirectory.cpp |
| 21 |
FTPParse.cpp |
| 22 |
HTTPDirectory.cpp |
| 23 |
IDirectory.cpp |
| 24 |
IFile.cpp |
| 25 |
ImageFile.cpp |
| 26 |
LibraryDirectory.cpp |
| 27 |
MultiPathDirectory.cpp |
| 28 |
MultiPathFile.cpp |
| 29 |
MusicDatabaseDirectory.cpp |
| 30 |
MusicDatabaseFile.cpp |
| 31 |
MusicFileDirectory.cpp |
| 32 |
MusicSearchDirectory.cpp |
| 33 |
OverrideDirectory.cpp |
| 34 |
OverrideFile.cpp |
| 35 |
PipeFile.cpp |
| 36 |
PipesManager.cpp |
| 37 |
PlaylistDirectory.cpp |
| 38 |
PlaylistFileDirectory.cpp |
| 39 |
PluginDirectory.cpp |
| 40 |
PluginFile.cpp |
| 41 |
PVRDirectory.cpp |
| 42 |
ResourceDirectory.cpp |
| 43 |
ResourceFile.cpp |
| 44 |
RSSDirectory.cpp |
| 45 |
ShoutcastFile.cpp |
| 46 |
SmartPlaylistDirectory.cpp |
| 47 |
SourcesDirectory.cpp |
| 48 |
SpecialProtocol.cpp |
| 49 |
SpecialProtocolDirectory.cpp |
| 50 |
SpecialProtocolFile.cpp |
| 51 |
StackDirectory.cpp |
| 52 |
VideoDatabaseDirectory.cpp |
| 53 |
VideoDatabaseFile.cpp |
| 54 |
VirtualDirectory.cpp |
| 55 |
XbtDirectory.cpp |
| 56 |
XbtFile.cpp |
| 57 |
XbtManager.cpp |
| 58 |
ZeroconfDirectory.cpp |
| 59 |
ZipDirectory.cpp |
| 60 |
ZipFile.cpp |
| 61 |
ZipManager.cpp) |
| 62 |
|
| 63 |
set(HEADERS AddonsDirectory.h |
| 64 |
CacheStrategy.h |
| 65 |
CircularCache.h |
| 66 |
CurlFile.h |
| 67 |
DAVCommon.h |
| 68 |
DAVDirectory.h |
| 69 |
DAVFile.h |
| 70 |
Directorization.h |
| 71 |
Directory.h |
| 72 |
DirectoryCache.h |
| 73 |
DirectoryFactory.h |
| 74 |
DirectoryHistory.h |
| 75 |
DllLibCurl.h |
| 76 |
EventsDirectory.h |
| 77 |
FTPDirectory.h |
| 78 |
FTPParse.h |
| 79 |
FavouritesDirectory.h |
| 80 |
File.h |
| 81 |
FileCache.h |
| 82 |
FileDirectoryFactory.h |
| 83 |
FileFactory.h |
| 84 |
HTTPDirectory.h |
| 85 |
IDirectory.h |
| 86 |
IFile.h |
| 87 |
IFileDirectory.h |
| 88 |
IFileTypes.h |
| 89 |
ImageFile.h |
| 90 |
LibraryDirectory.h |
| 91 |
MultiPathDirectory.h |
| 92 |
MultiPathFile.h |
| 93 |
MusicDatabaseDirectory.h |
| 94 |
MusicDatabaseFile.h |
| 95 |
MusicFileDirectory.h |
| 96 |
MusicSearchDirectory.h |
| 97 |
OverrideDirectory.h |
| 98 |
OverrideFile.h |
| 99 |
PVRDirectory.h |
| 100 |
PipeFile.h |
| 101 |
PipesManager.h |
| 102 |
PlaylistDirectory.h |
| 103 |
PlaylistFileDirectory.h |
| 104 |
PluginDirectory.h |
| 105 |
PluginFile.h |
| 106 |
RSSDirectory.h |
| 107 |
ResourceDirectory.h |
| 108 |
ResourceFile.h |
| 109 |
ShoutcastFile.h |
| 110 |
SmartPlaylistDirectory.h |
| 111 |
SourcesDirectory.h |
| 112 |
SpecialProtocol.h |
| 113 |
SpecialProtocolDirectory.h |
| 114 |
SpecialProtocolFile.h |
| 115 |
StackDirectory.h |
| 116 |
VideoDatabaseDirectory.h |
| 117 |
VideoDatabaseFile.h |
| 118 |
VirtualDirectory.h |
| 119 |
XbtDirectory.h |
| 120 |
XbtFile.h |
| 121 |
XbtManager.h |
| 122 |
ZeroconfDirectory.h |
| 123 |
ZipDirectory.h |
| 124 |
ZipFile.h |
| 125 |
ZipManager.h) |
| 126 |
|
| 127 |
if(ISO9660PP_FOUND) |
| 128 |
list(APPEND SOURCES ISO9660Directory.cpp |
| 129 |
ISO9660File.cpp) |
| 130 |
list(APPEND HEADERS ISO9660Directory.h |
| 131 |
ISO9660File.h) |
| 132 |
endif() |
| 133 |
|
| 134 |
if(TARGET udfread::udfread) |
| 135 |
list(APPEND SOURCES UDFBlockInput.cpp |
| 136 |
UDFDirectory.cpp |
| 137 |
UDFFile.cpp) |
| 138 |
list(APPEND HEADERS UDFBlockInput.h |
| 139 |
UDFDirectory.h |
| 140 |
UDFFile.h) |
| 141 |
endif() |
| 142 |
|
| 143 |
if(BLURAY_FOUND) |
| 144 |
list(APPEND SOURCES BlurayCallback.cpp |
| 145 |
BlurayDirectory.cpp |
| 146 |
BlurayFile.cpp) |
| 147 |
list(APPEND HEADERS BlurayCallback.h |
| 148 |
BlurayDirectory.h |
| 149 |
BlurayFile.h) |
| 150 |
endif() |
| 151 |
|
| 152 |
if(ENABLE_OPTICAL) |
| 153 |
list(APPEND SOURCES CDDADirectory.cpp |
| 154 |
CDDAFile.cpp |
| 155 |
DVDDirectory.cpp) |
| 156 |
list(APPEND HEADERS CDDADirectory.h |
| 157 |
CDDAFile.h |
| 158 |
DVDDirectory.h) |
| 159 |
endif() |
| 160 |
|
| 161 |
if(TARGET libnfs::nfs) |
| 162 |
list(APPEND SOURCES NFSDirectory.cpp |
| 163 |
NFSFile.cpp) |
| 164 |
list(APPEND HEADERS NFSDirectory.h |
| 165 |
NFSFile.h) |
| 166 |
endif() |
| 167 |
|
| 168 |
if(ENABLE_UPNP) |
| 169 |
list(APPEND SOURCES NptXbmcFile.cpp |
| 170 |
UPnPDirectory.cpp |
| 171 |
UPnPFile.cpp) |
| 172 |
list(APPEND HEADERS UPnPDirectory.h |
| 173 |
UPnPFile.h) |
| 174 |
endif() |
| 175 |
|
| 176 |
core_add_library(filesystem) |
| 177 |
if(ENABLE_STATIC_LIBS AND ENABLE_UPNP) |
| 178 |
target_link_libraries(filesystem PRIVATE upnp) |
| 179 |
endif() |