Age | Commit message (Collapse) | Author |
|
Before this change shared libraries were built by creating a static
library using core_add_library and then linking that into a
shared/module one using core_link_libraries. This has a few drawbacks:
- Meanwhile most libraries don't use wrapping (for VFS support)
anymore, and we can use CMake mechanisms to create those libraries.
- The approach doesn't work with MSVC as there is no "whole-archive"
option. On windows these symbols would need different exporting.
- The main usage of core_add_library is to generate small libraries
for the Kodi main application. Let's use it only for that.
This is in preparation to disable building of per folder static
libraries because they don't work well with VS and Xcode.
This commit introduces the following changes:
- Shared/Module libraries are now created with core_add_shared_library,
addon callback libraries are now created with core_add_addon_library.
- Fix dependencies: make kodi now builds everything needed to run kodi
including all dl-loaded libraries.
- Only use wrapping for libraries where it's also done with Autotools
- WRAP_FILES and wrap-libraries are renamed to LIBRARY_FILES and
kodi-libraries.
- Library wrapping and generation now works in all subdirectories.
Previously core_link_libraries had to be called in the main
CMakeLists.txt because file dependencies in add_custom_command only
work in the same directory. This also made it necessary to create
wrap_* targets.
- Generator expressions in core_link_libraries make the function
less error prone.
|
|
|
|
headers we need from wdk as a package to simplify setup
|
|
UWP(project centennial) does not allow AddDllDirectory which
we don't really need anyway but it's use made the folder structure
pretty. Since we run perfectly fine without it both native and
as UWP I decided to drop it completely.
To make the build, installer and debugging experience easier this
led to plenty of changes to packages and build scripts to output
all dlls into /system/ instead of different folders.
While moving stuff around some dependencies got updated, it's possible
that we can use java menus in bluray movies now, not tested.
EasyHook just got repackaged to fit the new folder structure.
The rebuilding of dependencies led to us being able to drop old
vcredist files which also simplifies installer and packaging, especially
for UWP.
Some minor cleanup along the way as well
|
|
Credit fetzerch, https://github.com/garbear/xbmc/pull/53
|
|
https://github.com/xbmc/xbmc/commit/10aa7419b8d1a3170082c6216fc5862721500fff
|
|
This patch cuts down on the seek time for files in stored rar archives.
|
|
lzo in lib folder
make lzo non-optional (thanks Stefan Saraev)
Packaged a new build of texturepacker
|
|
Revert "[addon] binary add-on library rework for API level system"
|
|
This reverts commit 601c63c345a5a916017552cd0992245a5d83a16f.
|
|
[win32][test] Fix linking of the test suite
|
|
|
|
|
|
|
|
This reverts part of https://github.com/xbmc/xbmc/pull/7472
Basically the commit made the 4 comments in the exif block increase
from 2K to 64K each, so you now need 256K per photo.
When opening a folder exif information for all photos is extracted.
So, for a folder of 5000 jpegs, 1.2GB of RAM is needed just for
the comments.
As a 64K comment string is of no use to kodi, just truncate them to 2K
like we used to.
See:
http://trac.kodi.tv/ticket/16193
http://forum.kodi.tv/showthread.php?tid=251908
|
|
char const*): A pointer field is not initialized in the constructor
|
|
Fixed copying of dll during build to avoid risking using python27.dll from system32
Rebuilt all statically linked libs with _ITERATOR_DEBUG_LEVEL=0 because of performance issues, especially during video development
Curl should once again be linked against openssl
switched all projects to use /MD or /MDd because it enables sharing of env between the loaded modules making our environment hacks less needed.
Added curl and openssl to ignore list to avoid them being hooked by our crt emulation. This needs a proper fix and is likely resolved by Voyager's PR
|
|
|
|
[coverity] Some cleanup/fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add TranslateSpecialPath to libAddon_helper interface
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to frostworx for fixing the peripheral add-ons build, notspiff for
helping with the rebrand and montellese for the windows installer fix and VS
solution fix.
|
|
|
|
|
|
|
|
more libdvd fixups
|
|
Add binary addon InputStream
|
|
|
|
|
|
|
|
Under certain circumstances, these flags can leak into the
environment, where "-shared" will break all linker calls which produce
executables, leading to segmentation faults.
This is not a "generic" LDFLAGS variable to be used everywhere; this
is just one special variable for local use.
|
|
#ifdef's
|
|
IFile
|
|
|
|
[cleanup] lib/libexif: dead code
|
|
|
|
|
|
|
|
Add CMakeLists.txt for the lib directory.
- lib/addons
- UnrarXLib
- libUPnP
- libexif
|
|
[xbmc] Fixes that have come from the migration to vs2015
|