Skip to content

Commit

Permalink
cmake buildsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 authored and FernetMenta committed Nov 30, 2015
1 parent 6481f95 commit a5961e0
Show file tree
Hide file tree
Showing 234 changed files with 5,028 additions and 0 deletions.
46 changes: 46 additions & 0 deletions lib/UnrarXLib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
set(SOURCES archive.cpp
arcread.cpp
cmddata.cpp
consio.cpp
crc.cpp
crypt.cpp
encname.cpp
errhnd.cpp
extinfo.cpp
extract.cpp
filcreat.cpp
file.cpp
filefn.cpp
filestr.cpp
find.cpp
getbits.cpp
global.cpp
int64.cpp
isnt.cpp
log.cpp
match.cpp
options.cpp
pathfn.cpp
rar.cpp
rarvm.cpp
rawread.cpp
rdwrfn.cpp
recvol.cpp
resource.cpp
rijndael.cpp
rs.cpp
savepos.cpp
scantree.cpp
sha1.cpp
strfn.cpp
strlist.cpp
system.cpp
timefn.cpp
ulinks.cpp
unicode.cpp
unpack.cpp
volume.cpp)

add_definitions(-DSILENT)

core_add_library(unrarxlib)
9 changes: 9 additions & 0 deletions lib/addons/library.kodi.guilib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
set(SOURCES libKODI_guilib.cpp)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CORE_SOURCE_DIR}/xbmc/addons/include
${CORE_SOURCE_DIR}/xbmc)

set(CMAKE_POSITION_INDEPENDENT_CODE 1)

core_add_library(KODI_guilib 1)
9 changes: 9 additions & 0 deletions lib/addons/library.xbmc.addon/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
set(SOURCES libXBMC_addon.cpp)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}
${CORE_SOURCE_DIR}/xbmc/addons/include
${CORE_SOURCE_DIR}/xbmc)

add_options(CXX ALL_BUILDS "-fPIC")

core_add_library(XBMC_addon 1)
8 changes: 8 additions & 0 deletions lib/addons/library.xbmc.codec/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set(SOURCES libXBMC_codec.cpp)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CORE_SOURCE_DIR}/addons/library.xbmc.addon
${CORE_SOURCE_DIR}/xbmc/addons/include)
add_options(CXX ALL_BUILDS "-fPIC")

core_add_library(XBMC_codec 1)
11 changes: 11 additions & 0 deletions lib/addons/library.xbmc.pvr/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
set(SOURCES libXBMC_pvr.cpp)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CORE_SOURCE_DIR}/xbmc/addons/include
${CORE_SOURCE_DIR}/addons/library.xbmc.addon
${CORE_SOURCE_DIR}/xbmc
${CORE_SOURCE_DIR}/xbmc/cores/VideoPlayer/DVDDemuxers)

set(CMAKE_POSITION_INDEPENDENT_CODE 1)

core_add_library(XBMC_pvr 1)
48 changes: 48 additions & 0 deletions lib/cximage-6.0/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
set(SOURCES jbig/jbig.c
jbig/jbig_tab.c
raw/libdcr.c
CxImage/DllInterface.cpp
CxImage/tif_xfile.cpp
CxImage/ximabmp.cpp
CxImage/ximadsp.cpp
CxImage/ximaenc.cpp
CxImage/ximaexif.cpp
CxImage/ximage.cpp
CxImage/ximagif.cpp
CxImage/ximahist.cpp
CxImage/ximaico.cpp
CxImage/ximainfo.cpp
CxImage/ximaint.cpp
CxImage/ximajas.cpp
CxImage/ximajbg.cpp
CxImage/ximajpg.cpp
CxImage/ximalpha.cpp
CxImage/ximalyr.cpp
CxImage/ximamng.cpp
CxImage/ximapal.cpp
CxImage/ximapcx.cpp
CxImage/ximapng.cpp
CxImage/ximaraw.cpp
CxImage/ximasel.cpp
CxImage/ximaska.cpp
CxImage/ximatga.cpp
CxImage/ximath.cpp
CxImage/ximatif.cpp
CxImage/ximatran.cpp
CxImage/ximawbmp.cpp
CxImage/ximawmf.cpp
CxImage/ximawnd.cpp
CxImage/xmemfile.cpp)

add_definitions(-DXBMC -D_DLL)

include_directories(${ZLIB_INCLUDE_DIRS}
${JPEG_INCLUDE_DIRS}
${TIFF_INCLUDE_DIRS}
${PNG_INCLUDE_DIRS}
${JASPER_INCLUDE_DIRS})


add_options(ALL_LANGUAGES ALL_BUILDS "-fPIC")

core_add_library(cximage 1)
90 changes: 90 additions & 0 deletions lib/libUPnP/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
set(SOURCES Platinum/Source/Core/PltAction.cpp
Platinum/Source/Core/PltArgument.cpp
Platinum/Source/Core/PltConstants.cpp
Platinum/Source/Core/PltCtrlPoint.cpp
Platinum/Source/Core/PltCtrlPointTask.cpp
Platinum/Source/Core/PltDatagramStream.cpp
Platinum/Source/Core/PltDeviceData.cpp
Platinum/Source/Core/PltDeviceHost.cpp
Platinum/Source/Core/PltEvent.cpp
Platinum/Source/Core/PltHttp.cpp
Platinum/Source/Core/PltHttpClientTask.cpp
Platinum/Source/Core/PltHttpServer.cpp
Platinum/Source/Core/PltHttpServerTask.cpp
Platinum/Source/Core/PltIconsData.cpp
Platinum/Source/Core/PltMimeType.cpp
Platinum/Source/Core/PltProtocolInfo.cpp
Platinum/Source/Core/PltService.cpp
Platinum/Source/Core/PltSsdp.cpp
Platinum/Source/Core/PltStateVariable.cpp
Platinum/Source/Core/PltTaskManager.cpp
Platinum/Source/Core/PltThreadTask.cpp
Platinum/Source/Core/PltUPnP.cpp
Platinum/Source/Devices/MediaServer/PltDidl.cpp
Platinum/Source/Devices/MediaServer/PltFileMediaServer.cpp
Platinum/Source/Devices/MediaServer/PltMediaBrowser.cpp
Platinum/Source/Devices/MediaServer/PltMediaCache.cpp
Platinum/Source/Devices/MediaServer/PltMediaItem.cpp
Platinum/Source/Devices/MediaServer/PltMediaServer.cpp
Platinum/Source/Devices/MediaServer/ConnectionManagerSCPD.cpp
Platinum/Source/Devices/MediaServer/ContentDirectorySCPD.cpp
Platinum/Source/Devices/MediaServer/ContentDirectorywSearchSCPD.cpp
Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp
Neptune/Source/Core/Neptune.cpp
Neptune/Source/Core/NptAutomaticCleaner.cpp
Neptune/Source/Core/NptBase64.cpp
Neptune/Source/Core/NptBufferedStreams.cpp
Neptune/Source/Core/NptCommon.cpp
Neptune/Source/Core/NptDataBuffer.cpp
Neptune/Source/Core/NptDebug.cpp
Neptune/Source/Core/NptFile.cpp
Neptune/Source/Core/NptHash.cpp
Neptune/Source/Core/NptHttp.cpp
Neptune/Source/Core/NptList.cpp
Neptune/Source/Core/NptLogging.cpp
Neptune/Source/Core/NptMessaging.cpp
Neptune/Source/Core/NptNetwork.cpp
Neptune/Source/Core/NptQueue.cpp
Neptune/Source/Core/NptResults.cpp
Neptune/Source/Core/NptRingBuffer.cpp
Neptune/Source/Core/NptSimpleMessageQueue.cpp
Neptune/Source/Core/NptSockets.cpp
Neptune/Source/Core/NptStreams.cpp
Neptune/Source/Core/NptStrings.cpp
Neptune/Source/Core/NptSystem.cpp
Neptune/Source/Core/NptThreads.cpp
Neptune/Source/Core/NptTime.cpp
Neptune/Source/Core/NptTls.cpp
Neptune/Source/Core/NptUri.cpp
Neptune/Source/Core/NptUtils.cpp
Neptune/Source/Core/NptXml.cpp
Neptune/Source/System/Bsd/NptBsdSockets.cpp
Neptune/Source/System/Bsd/NptBsdNetwork.cpp
Neptune/Source/System/Posix/NptPosixSystem.cpp
Neptune/Source/System/Posix/NptSelectableMessageQueue.cpp
Neptune/Source/System/Posix/NptPosixQueue.cpp
Neptune/Source/System/Posix/NptPosixThreads.cpp
Neptune/Source/System/Posix/NptPosixTime.cpp
Neptune/Source/System/StdC/NptStdcDebug.cpp
Neptune/Source/System/StdC/NptStdcEnvironment.cpp
Platinum/Source/Devices/MediaRenderer/PltMediaRenderer.cpp
Platinum/Source/Devices/MediaRenderer/PltMediaController.cpp
Platinum/Source/Devices/MediaRenderer/AVTransportSCPD.cpp
Platinum/Source/Devices/MediaRenderer/RdrConnectionManagerSCPD.cpp
Platinum/Source/Devices/MediaRenderer/RenderingControlSCPD.cpp
Platinum/Source/Devices/MediaConnect/X_MS_MediaReceiverRegistrarSCPD.cpp
Platinum/Source/Devices/MediaConnect/PltMediaConnect.cpp
Neptune/Source/System/Posix/NptPosixEnvironment.cpp)

include_directories(Neptune/Source/Core
Platinum/Source/Core
Platinum/Source/Platinum
Platinum/Source/Devices/MediaConnect
Platinum/Source/Devices/MediaRenderer
Platinum/Source/Devices/MediaServer
Neptune/Source/System/Posix
Platinum/Source/Extras)

add_definitions(-DNPT_CONFIG_ENABLE_LOGGING)

core_add_library(upnp)
10 changes: 10 additions & 0 deletions lib/libexif/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set(SOURCES ExifParse.cpp
IptcParse.cpp
JpegParse.cpp
libexif.cpp)

set(CMAKE_POSITION_INDEPENDENT_CODE 1)

add_definitions(-D_LINUX -D_DLL)

core_add_library(exif 1)
Loading

0 comments on commit a5961e0

Please sign in to comment.