Age | Commit message (Collapse) | Author |
|
A target may not always use target_link_libraries to create dependency chains.
export-files is an example, and we want to make sure it has a dependency on all libs to
be acquired/built before trying to execute the export-files script
|
|
https://cmake.org/cmake/help/latest/policy/CMP0074.html
|
|
[cmake] Complete target usage for dependency libs, and remove some old globals and other cmake cleanups
|
|
|
|
Co-authored-by: fuzzard <fuzzard@kodi.tv>
|
|
|
|
|
|
|
|
|
|
https://cmake.org/cmake/help/latest/policy/CMP0079.html
This allows using target_link_libraries to a target not in the same calling directory
|
|
The expectation of a system FindGnuTLS is only valid when cmake 3.16+ is used
Cmake 3.16 was released in 2019, and is available in Ubuntu 20.04
|
|
|
|
|
|
|
|
|
|
|
|
We dont want our build target find searches to search in nativeprefix. This can inadvertently
use config packages that are available in both native and target prefixes from the wrong
location.
|
|
C and C++ aren't actually compatible and this breaks the build starting with C++20 (due to cc_overlay.c using u8 literals).
When these files are now compiled as C files, they cannot use the C++ precompiled headers, so just disable PCH for those few files.
|
|
|
|
|
|
|
|
The macro takes an argument that is the target to link to, and then
iterates over the require and optional dep lists we maintain, and then checks for a target
of the form APP_NAME_LC::Dep.
The goal is to remove the need to manually track/add INTERNAL_DEPS_PROP property
|
|
Looks like its now dead code, once upon a time used for addon vis. Lets pull it out
and see what happens
|
|
|
|
the FXC program is a build tool, so separate from our lib find modules
|
|
add find_package(pkgconfig) where missing
Use HINTS instead of PATHS as the paths are provided by other things such as pkgconfig
As per cmake docs https://cmake.org/cmake/help/latest/command/find_library.html
Search the paths specified by the HINTS option. These should be paths computed by system
introspection, such as a hint provided by the location of another item already found.
Hard-coded guesses should be specified with the PATHS option.
Pull version requirements out of modules
|
|
There have been a number of changes to skins, and estouchy has not been kept up to
date. At this point no one has shown interest to update it, so remove it for now.
|
|
This allows platforms to use the supplied taglib-config script to do version
checking to reduce rebuilding when an adequate version lib exists.
Some other minor cleanups to remove find spec from Find module and put into root CMakeLists.txt
|
|
Allows user to override (eg specific mirror/source preferred due to mirrors giving a
faulty redirect)
|
|
We need to set this proeprty so we dont inadvertently build all internal dependencies
regardless of state due to the ALL target
|
|
Allows building libcec (and dependency p8-platform) as part of core cmake project.
|
|
Allow a platform to exclude a dependency from the optional_deps list.
This example includes CEC that isnt used for ios/tvos/android/UWP
|
|
[linux] add --gl-interface=<interface> switch
|
|
Signed-off-by: Lukas Rusak <lorusak@gmail.com>
|
|
|
|
|
|
|
|
[Cmake] FindASS migrate to TARGET usage
|
|
[Cmake] Create build_internal_depends for MultiConfig Generators
|
|
A hard requirement of libass 0.15.0 was brought in with PR https://github.com/xbmc/xbmc/pull/23421
Force version check on libass find
|
|
|
|
depends
|
|
|
|
|
|
Move gen_skin_pack to add_custom_command and generate a "timestamp" file for dependency
tracking. This allows the custom command to only be run once, rather than every build.
clean in VS also removes timestamp file, allowing for a full clean and full rebuild
including running the custom command.
|
|
Ninja doesnt handle the dependency without a clear indication of where the files are from.
As they are generated as part of gen_skin_pack, we already have an order dependency in place
so we do not need XBT_FILES
|
|
[cmake][win] Generate complete build dir layout for Multiconfig gen (VS)
|
|
|
|
|
|
|