aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2024-07-09[cmake] create function to add dependency to a targetfuzzard
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
2024-06-26[cmake] Silence policy warning CMP0074fuzzard
https://cmake.org/cmake/help/latest/policy/CMP0074.html
2024-06-25Merge pull request #25228 from fuzzard/cmake_cleanup3fuzzard
[cmake] Complete target usage for dependency libs, and remove some old globals and other cmake cleanups
2024-06-22Pictures: Move to exiv2 for image metadata retrieval (exif and iptc)Miguel Borges de Freitas
2024-06-22[depends] Add exiv2 to dependsMiguel Borges de Freitas
Co-authored-by: fuzzard <fuzzard@kodi.tv>
2024-06-22[cmake] remove unused variable LIBCEC_SONAMEfuzzard
2024-06-22[cmake] remove several non target globalsfuzzard
2024-06-22[cmake] Document some variables and their expected usagefuzzard
2024-06-22[cmake] Remove global property usage for dependency trackingfuzzard
2024-06-22[cmake] Enable CMP0079fuzzard
https://cmake.org/cmake/help/latest/policy/CMP0079.html This allows using target_link_libraries to a target not in the same calling directory
2024-06-22[cmake] Increase project cmake_minimum_required to 3.16fuzzard
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
2024-06-22[cmake][modules] FindUDEV cleanup and use core_target_link_librariesfuzzard
2024-06-22[cmake][modules] FindShairplay cleanup and use core_target_link_librariesfuzzard
2024-06-22[cmake][modules] FindPulseAudio cleanup and use core_target_link_librariesfuzzard
2024-06-22[cmake][modules] FindMariaDBClient cleanup and use core_target_link_librariesfuzzard
2024-06-17Migrate PCRE to PCRE2 and remove PCREfuzzard
2024-06-17[cmake] Remove NATIVEPREFIX from search paths for build target searchesfuzzard
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.
2024-06-13[windows] c++20: Do not compile C files as C++Philipp Kerling
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.
2024-05-18[cmake][modules] FindFstrcmp cleanup and use core_target_link_librariesfuzzard
2024-05-18[cmake][modules] FindFmt cleanup and use core_target_link_librariesfuzzard
2024-05-18[cmake][modules] FindAlsa cleanup and use core_target_link_librariesfuzzard
2024-05-18[cmake] macro to iterate required/optional dep lists for linkingfuzzard
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
2024-05-10Remove kissfftfuzzard
Looks like its now dead code, once upon a time used for addon vis. Lets pull it out and see what happens
2024-05-09[cmake][modules] FindCurl enable building internalfuzzard
2024-05-06[cmake] Move Windows Effect Compiler find module to buildtoolsfuzzard
the FXC program is a build tool, so separate from our lib find modules
2024-02-24[cmake] Cleanup and modernisationfuzzard
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
2024-02-06[skin] Remove estouchy from corefuzzard
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.
2023-12-24[cmake] FindTagLib Add version test for internal buildfuzzard
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
2023-12-10[cmake] Set KODI_MIRROR project variablefuzzard
Allows user to override (eg specific mirror/source preferred due to mirrors giving a faulty redirect)
2023-10-26[cmake] set EXCLUDE_FROM_ALL property for build_internal_depends targetfuzzard
We need to set this proeprty so we dont inadvertently build all internal dependencies regardless of state due to the ALL target
2023-10-26[cmake] implement ENABLE_INTERNAL_CECfuzzard
Allows building libcec (and dependency p8-platform) as part of core cmake project.
2023-10-26[cmake] introduce PLATFORM_OPTIONAL_DEPS_EXCLUDEfuzzard
Allow a platform to exclude a dependency from the optional_deps list. This example includes CEC that isnt used for ios/tvos/android/UWP
2023-10-17Merge pull request #23907 from lrusak/glx-app-paramfuzzard
[linux] add --gl-interface=<interface> switch
2023-10-15CCompileInfo: add ability to get enabled gl interfacesLukas Rusak
Signed-off-by: Lukas Rusak <lorusak@gmail.com>
2023-10-05[cmake] Refactor and simplify FindFmt.cmakefuzzard
2023-10-02[cmake] FindRapidJSON update to newer module standardsfuzzard
2023-09-27[cmake] FindPulseAudio migrate to full TARGET usagefuzzard
2023-09-27Merge pull request #23824 from fuzzard/cmake_findlibass_updatefuzzard
[Cmake] FindASS migrate to TARGET usage
2023-09-27Merge pull request #23807 from fuzzard/cmake_multigen_alldepfuzzard
[Cmake] Create build_internal_depends for MultiConfig Generators
2023-09-27[cmake] libass set minimum search version to 0.15.0fuzzard
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
2023-09-26[cmake] add_custom_command only use OUTPUT genex for multi config generatorsfuzzard
2023-09-24[cmake] Multiconfig generators add stand alone target to build all internal ↵fuzzard
depends
2023-09-21[cmake] gen_skin_pack remove BYPRODUCT to fix ninja buildfuzzard
2023-09-20[cmake] Global variable to indicate Multi Config Generatorfuzzard
2023-09-19[cmake] gen_skin_pack move to add_custom_commandfuzzard
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.
2023-09-13[cmake] Remove XBT_FILES as a dependency of generate-packaging TARGETfuzzard
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
2023-09-11Merge pull request #22112 from fuzzard/win_buildtreefuzzard
[cmake][win] Generate complete build dir layout for Multiconfig gen (VS)
2023-09-06[cmake] FindMariaDBClient migrate to full TARGET usagefuzzard
2023-09-05[cmake] FindShairplay migrate to full TARGET usagefuzzard
2023-09-05[cmake] FindUDEV migrate to full TARGET usagefuzzard