aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2022-07-15CMakeLists: Mark WebEngine(Core/Widgets) as requiredMorph
Mark these components as required when we are building with QtWebEngine enabled.
2022-07-15CMakeLists: Add QtConcurrent to required componentsMorph
We use QtConcurrent in various places in our Qt frontend, add it to the required components.
2022-07-04CI: fix cachingliushuyu
2022-07-04cmake: Move source directory compatibility list...nezd5553
... and copy it before the download check This makes it more consistent with the directory structure of the project.
2022-06-19cmake: Use compatibility list in source directorynezd5553
For Flatpak builds, the compatibility list is located in the source directory. In this case, CMake will copy it to the build directory.
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam
2022-05-29CMakeLists: Update boost to 1.79.0Morph
This version of boost brings in a number of bug fixes, especially to the asio library. Details can be seen here: https://www.boost.org/users/history/version_1_79_0.html
2022-04-29dist: add AppStream metadataAndrea Pappacoda
The AppStream file is mostly copied from the one already used by the Flatpak yuzu build: https://github.com/flathub/org.yuzu_emu.yuzu/blob/62fc225acfa0178ddf61be68ad9be60841077263/org.yuzu_emu.yuzu.metainfo.xml As it already defines the application id as org.yuzu_emu.yuzu I renamed the yuzu.desktop and yuzu.xml files so that they match. I've also made some minor tweaks to it, like fixing the capitalization of "yuzu", adding a few keys and sorting them as presented in the documentation. Lastly, I added PrefersNonDefaultGPU=true to the .desktop file so that yuzu is launched with the dedicated graphics card on Linux.
2022-04-25CMakeLists: Download conan.cmake 0.18.1Morph
2022-04-24CMakeLists: Update Conan requirement to 1.45.0Morph
2022-04-23CMakeLists: Revert ad55faaa3lat9nq
The premise behind ad55faaa3 was due to an issue between Conan's libiconv package and compiling SDL2 from our externals. Since none of our Conan externals require libiconv any longer, though, we can remove downloading our own Boost package and just rely on Conan again. Additionally, removing CONFIG from the find_package(boost) call fixes issues with finding Boost on Fedora and MSYS2, which was the main motivation for this. Also, remove QUIET since if something goes wrong finding Boost, this makes it harder to tell what went wrong.
2022-03-12build(cmake): fix missing Qt5::DBus link target for bundled linux packageBytesGalore
2022-03-11Revert "build(cmake): fix missing Qt5::DBus target on linux"bunnei
2022-03-06build(cmake): fix missing Qt5::DBus link targetBytesGalore
2022-01-12cmake: make tests optionalAlexandre Bouvier
2022-01-08cmake: upgrade Conan package fmt to 8.1.1 ...liushuyu
... requirements for fmt stays at ^8.0.1
2022-01-04Merge pull request #7610 from Tatsh/more-system-libsbunnei
Add support for linking against system Opus
2021-12-28Merge pull request #7618 from goldenx86/patch-4bunnei
Increase boost requirement to 1.78.0
2021-12-22Increase boost requirement to 1.78.0Matías Locatti
Liu's finding, this allows to build yuzu on VS 2022. Ignore at will.
2021-12-22main: fix wake lock in Flatpak ...liushuyu
... by using the XDP system
2021-12-21Add support for linking against system opusAndrew Udvare
2021-12-18cmake: enable VA-API on more Unix-like after 0be4e402e213Jan Beich
2021-12-15video_core/codecs: (re-spin) refactor ffmpeg searching and handlingliushuyu
2021-12-15Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei
2021-12-13ffmpeg: move the whole tree into externals/ffmpeg/ffmpeg ...liushuyu
* this resolves the todo items in the CMakeLists.txt * a version requirement check for ffmpeg is added to catch issues early * for future-proof reasons, nasm/yasm is now only required when build on x86/AMD64 systems
2021-12-13cmake: refactor ffmpeg searching and handling logic on Linuxliushuyu
2021-12-12Merge pull request #7527 from Tachi107/cubeb-result_ofbunnei
build: update cubeb and remove the result_of comment
2021-12-06input_common: Update SDL to 2.0.18Narr the Reg
2021-12-06build: update cubeb and remove the result_of commentAndrea Pappacoda
Cubeb doesn't use result_of anymore, it has been dropped in commit mozilla/cubeb@75d9d125ee655ef80f3bfcd97ae5a805931042b8
2021-11-25CMakeLists: Update fmt to 8.0.1Lioncash
Ensures that we're using the latest version of fmt.
2021-11-19Merge pull request #7273 from fpdotmonkey/submodule-checkout-command-on-new-linebunnei
Move the cmake submodule checkout command to a new line
2021-11-16CMakeLists: Update catch to 2.13.7Lioncash
Keeps the testing libraries up to date.
2021-11-12CMake: Enable VP8 ffmpeg decodersameerj
2021-11-02Move the cmake submodule checkout command to a new lineFletcher Porter
Presently, if you forget to initialize the git submodules before running cmake, there'll be a helpful message that reminds you to do so. However, on narrow terminals (e.g. 80 wide) there's a word wrap that includes a new line in the middle of the git command, precluding easy copy-paste. This moves the entire git command to its own line to avoid such tragedies. Before: ``` CMake Error at CMakeLists.txt:59 (message): Git submodule externals/inih/inih not found. Please run: git submodule update --init --recursive ``` After: ``` CMake Error at CMakeLists.txt:59 (message): Git submodule externals/inih/inih not found. Please run: git submodule update --init --recursive ```
2021-10-19cmake: Update conan for VS2022 supportameerj
2021-10-02CMakeLists: Update to Qt 5.15.2Morph
2021-09-29CMakeLists: Remove BoxCat build optionMorph
2021-09-28externals: Remove libzipMorph
2021-09-24CMakeLists: Update to clang format version 12ameerj
2021-09-18Fix "Unknown C standard control flag" warningAndrew Strelsky
2021-09-11Merge pull request #6846 from ameerj/nvdec-gpu-decodeFernando S
nvdec: Add GPU video decoding for all capable drivers and platforms
2021-08-16cmake: Add VDPAU and NVDEC support to FFmpeglat9nq
Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
2021-08-12Merge branch 'yuzu-emu:master' into fix-lan-playspholz
2021-08-12configuration: add option to select network interfacespholz
This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
2021-08-12cmake: Always find LIBVA, update windows FFmpeg versionameerj
Allows the use of VAAPI gpu decoders on system installed ffmpeg as well.
2021-08-10externals: Update sdl2 to 2.0.16german77
2021-08-03nvdec: Implement VA-API hardware video acceleration (#6713)yzct12345
* nvdec: VA-API * Verify formatting * Forgot a semicolon for Windows * Clarify comment about AV_PIX_FMT_NV12 * Fix assert log spam from missing negation * vic: Remove forgotten debug code * Address lioncash's review * Mention VA-API is Intel/AMD * Address v1993's review * Hopefully fix CMakeLists style this time * vic: Improve cache locality * vic: Fix off-by-one error * codec: Async * codec: Forgot the GetValue() * nvdec: Address ameerj's review * codec: Fallback to CPU without VA-API support * cmake: Address lat9nq's review * cmake: Make VA-API optional * vaapi: Multiple GPU * Apply suggestions from code review Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com> * nvdec: Address ameerj's review * codec: Use anonymous instead of static * nvdec: Remove enum and fix memory leak * nvdec: Address ameerj's review * codec: Remove preparation for threading Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-08-01Merge pull request #6565 from lat9nq/bundle-ffmpegAmeer J
cmake, ci: Build bundled FFmpeg with yuzu
2021-07-27Merge pull request #6753 from jbeich/libusbAmeer J
cmake: unbreak libusb detection on FreeBSD
2021-07-27cmake: don't use pkg-config directly with non-reference libusbJan Beich
CMake Error at externals/libusb/CMakeLists.txt:120 (add_library): Cannot find source file: libusb/libusb/core.c Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc CMake Error at externals/libusb/CMakeLists.txt:120 (add_library): No SOURCES given to target: usb ld: error: undefined symbol: libusb_interrupt_transfer >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::SendVibrations()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::GetGCEndpoint(libusb_device*)) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::AdapterInputThread()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_error_name >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::SendVibrations()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_control_transfer >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_kernel_driver_active >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_close >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::ClearLibusbHandle()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Reset()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::AdapterScanThread()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_detach_kernel_driver >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_claim_interface >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_get_config_descriptor >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::GetGCEndpoint(libusb_device*)) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_release_interface >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::ClearLibusbHandle()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Reset()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::AdapterScanThread()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_init >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Adapter()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_open_device_with_vid_pid >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_get_device >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a ld: error: undefined symbol: libusb_exit >>> referenced by gc_adapter.cpp >>> gc_adapter.cpp.o:(GCAdapter::Adapter::Reset()) in archive src/input_common/libinput_common.a