MerryMage
6744e7ea4a
CMakeLists: Do not search for system libusb on macOS
6 years ago
Lioncash
798c1b457d
CMakeLists: Update fmt to 7.0.1
Keeps the package up to date with the latest major release of fmt.
This version brings in quite a bit of improvements, such as code size
reduction, etc.
6 years ago
Lioncash
d39b457566
CMakeLists: Use lower-case command names
Our convention uses lower-case command names, so this is just a
consistency change.
6 years ago
David Marcec
48aa076049
cmake: Fix libusb builds breaking
6 years ago
Jan Beich
2af7e40ce6
cmake: unbreak system libusb support
Reference libusb doesn't support DragonFly and FreeBSD because those
ship a different libusb implementation (supports 0.1, 1.0, 2.0 API).
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_alloc_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_alloc_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_has_capability) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_has_capability) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_has_capability) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_connect_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_disconnect_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_get_device_list) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_get_device_list) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_unref_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_unref_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_write
>>> referenced by core.c
>>> core.c.o:(usbi_signal_event) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_read
>>> referenced by core.c
>>> core.c.o:(usbi_clear_event) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_wrap_sys_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_wrap_sys_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_wrap_sys_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_open) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_open) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_read
>>> referenced by core.c
>>> core.c.o:(libusb_close) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_write
>>> referenced by core.c
>>> core.c.o:(libusb_close) in archive externals/libusb/libusb.a
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
6 years ago
Jan Beich
b1b1ed7597
cmake: stop linking against QGL after c6a0ab9792
6 years ago
David Marcec
d5dfe34c49
externals: Track opus as submodule instead of using conan
Supersedes #4068 see for details.
6 years ago
Jan Beich
dda90ce1c2
cmake: depend on WebEngine with system Qt
CMake Error at src/yuzu/CMakeLists.txt:7 (add_executable):
Target "yuzu" links to target "Qt5::WebEngineCore" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
6 years ago
Ameer
121af3646d
Singleton GC Adapter class, remove globals, fix naming convention
Fix clang formatting
Manual fix for configure_input_player formatting
Add missing lib usb cmake command
6 years ago
bunnei
2a3d4cad63
externals: Revert to libressl, as build is broken with find_package(OpenSSL). ( #4093 )
* externals: Revert to libressl, as build is broken with find_package(OpenSLL).
* fixup! externals: Revert to libressl, as build is broken with find_package(OpenSLL).
* fixup! externals: Revert to libressl, as build is broken with find_package(OpenSLL).
6 years ago
bunnei
104b334e40
Update CMakeLists.txt
6 years ago
bunnei
0ac8848eae
Update CMakeLists.txt
6 years ago
Markus Wick
e8baf07136
Mark the opus version check as broken.
6 years ago
James Rowe
bc30a591ba
Replace externals with Conan ( #3735 )
* Remove git submodules that will be loaded through conan
* Move custom Find modules to their own folder
* Use conan for downloading missing external dependencies
* CI: Change the yuzu source folder user to the user that the containers run on
* Attempt to remove dirty mingw build hack
* Install conan on the msvc build
* Only set release build type when using not using multi config generator
* Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries
* Add workaround for submodules that use legacy CMAKE variables
* Re-add USE_BUNDLED_QT on the msvc build bot
6 years ago
Jan Beich
1a2df0a5f3
cmake: Silence -Werror=implicit-fallthrough in SDL2 headers
In file included from src/input_common/sdl/sdl_impl.cpp:16:
In file included from /usr/local/include/SDL2/SDL.h:32:
In file included from /usr/local/include/SDL2/SDL_main.h:25:
/usr/local/include/SDL2/SDL_stdinc.h:445:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case 3: *_p++ = _val; /* fallthrough */
^
/usr/local/include/SDL2/SDL_stdinc.h:445:9: note: insert '[[fallthrough]];' to silence this warning
case 3: *_p++ = _val; /* fallthrough */
^
[[fallthrough]];
/usr/local/include/SDL2/SDL_stdinc.h:445:9: note: insert 'break;' to avoid fall-through
case 3: *_p++ = _val; /* fallthrough */
^
break;
/usr/local/include/SDL2/SDL_stdinc.h:446:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case 2: *_p++ = _val; /* fallthrough */
^
/usr/local/include/SDL2/SDL_stdinc.h:446:9: note: insert '[[fallthrough]];' to silence this warning
case 2: *_p++ = _val; /* fallthrough */
^
[[fallthrough]];
/usr/local/include/SDL2/SDL_stdinc.h:446:9: note: insert 'break;' to avoid fall-through
case 2: *_p++ = _val; /* fallthrough */
^
break;
/usr/local/include/SDL2/SDL_stdinc.h:447:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case 1: *_p++ = _val; /* fallthrough */
^
/usr/local/include/SDL2/SDL_stdinc.h:447:9: note: insert '[[fallthrough]];' to silence this warning
case 1: *_p++ = _val; /* fallthrough */
^
[[fallthrough]];
/usr/local/include/SDL2/SDL_stdinc.h:447:9: note: insert 'break;' to avoid fall-through
case 1: *_p++ = _val; /* fallthrough */
^
break;
3 errors generated.
6 years ago
Brian Clinkenbeard
13b02a1414
fix CMake build errors for certain SDL2 installations
6 years ago
Brian Clinkenbeard
68043dd233
use config mode for finding SDL2 with CMake
6 years ago
fearlessTobi
ac3690f205
Input: UDP Client to provide motion and touch controls
An implementation of the cemuhook motion/touch protocol, this adds the
ability for users to connect several different devices to citra to send
direct motion and touch data to citra.
Co-Authored-By: jroweboy <jroweboy@gmail.com>
6 years ago
Jake Merdich
dc70a36b44
Ignore git-related files in cmake for EA tarballs
This fixes the early-access builds on Windows (tested on EA 58). Cmake
was previously looking for git-related files that were stripped out of
the early access builds and failing; check if those exist before reading
them.
6 years ago
Zach Hilman
d8bcb1e973
cmake: Add cmake option to build Boxcat backend
Default enabled
7 years ago
Tobias
cae9708a00
Revert "CMake: Get Git submodule dependencies via CMake ( #2474 )"
This reverts commit 5cef446f42 .
7 years ago
Frederic L
5cef446f42
CMake: Get Git submodule dependencies via CMake ( #2474 )
* CMake: Get Git submodule dependencies via CMake
* CMakeLists: Fixed unintentional line break
* travis: Bring parity between linux-mingw and linux build script
* CMakeLists: Fixed typo in error message
7 years ago
Lioncash
a6fb6ccc83
CMakeLists: Handle VS 2019 in a less annoying manner
VS 2019 is binary compatible with VS 2017, so we can safely use
the prebuilt libraries for VS 2017 with VS 2019. This makes it less
annoying to build yuzu with the most up to date toolchain.
7 years ago
khang06
945e39471d
fix clang-format target when using a path with spaces on windows
7 years ago
MerryMage
51f609fee7
CMakeLists: Raise minimum Boost requirement to 1.66.0
Required due to bugfix in boost for changed template resolving rules in GCC 7.3.0 in C++17 mode
7 years ago
Lioncash
13bc74e957
CMakeLists: Move compilation flags into the src directory
We generally shouldn't be hijacking CMAKE_CXX_FLAGS, etc as a means to
append flags to the targets, since this adds the compilation flags to
everything, including our externals, which can result in weird issues
and makes the build hierarchy fragile.
Instead, we want to just apply these compilation flags to our targets,
and let those managing external libraries to properly specify their
compilation flags.
This also results in us not getting as many warnings, as we don't raise
the warning level on every external target.
7 years ago
Lioncash
e5b004e903
CMakeLists: Remove now-unnecessary GCC special-casing
This issue has since been fixed in newer versions of Boost, so we don't
need to worry about this anymore.
7 years ago
ReinUsesLisp
cc94a6d101
cmake: Add Vulkan option
7 years ago
ReinUsesLisp
be4641c43f
gl_shader_disk_cache: Invalidate shader cache changes with CMake hash
7 years ago
Zach Hilman
15501477e7
Update Qt MSVC external to 5.12.0
7 years ago
Zach Hilman
ef4c4e239d
cmake: Add USE_QT_WEB_ENGINE flag and update build system
7 years ago
Hedges
af42320021
GDBStub improvements:
- Add FPU support
- Fix access to TLS
Fix clang-format.
7 years ago
Lioncash
289adf87ac
CMakeLists: Remove EMU_ARCH_BITS definition
This was only ever used by the now-removed memory_util functions. Also,
given we don't plan to support 32-bit architectures, this is just a
leftover from citra at this point.
7 years ago
Weiyi Wang
d9ca6351dd
cmake: mingw also needs _FILE_OFFSET_BITS=64
7 years ago
Lioncash
c8beb665dc
CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
This is more localized to what we want to enforce directory-wise with
the project. CMAKE_SOURCE_DIR indicates the root of the source tree, but
this would cause the wrong behavior if someone included yuzu as part of
a larger buildsystem (for whatever reason). Instead, we want to use the
directory where the "project(yuzu)" command was declared as the root
path reference.
7 years ago
Weiyi Wang
fdb35760a7
string_util: unify UTF8<->UTF16 conversion to codecvt
7 years ago
fearlessTobi
ac06105dfe
Review comments -part 4
7 years ago
fearlessTobi
4d139943f2
Port web_service from Citra
7 years ago
spycrab
1008be9b67
CMake: Remove superfluous CMAKE_RUNTIME_OUTPUT_DIRECTORY assignment
7 years ago
fearlessTobi
f90b75cc4c
Port citra-emu/citra#4214 : "Set citra-qt project as default StartUp Project in Visual Studio"
7 years ago
tech4me
a8f54f96fc
travis: running mingw build on travis ci
This commit also fixed a broken cmake dependency with unicorn
7 years ago
Frederic Laing
9f2bcdbb76
Update CMakeLists.txt
Set yuzu project as default StartUp Project in Visual Studio
7 years ago
fearlessTobi
78653f7339
Show game compatibility within yuzu
7 years ago
Lioncash
319dbc5843
CMakeLists: Add architecture detection for AArch64
We already have an equivalent in place for the 32-bit ARM architecture, so we
should also have one for the newer 64-bit ARM architecture as well.
7 years ago
bunnei
eb2633f3ef
externals: Update to SDL2-2.0.8.
7 years ago
Lioncash
3d486fffed
CMakeLists: lowercase find_library usage
The rest of the CMake script uses lowercase for commands (which is the
general CMake style), making it more consistent with surrounding code.
7 years ago
Lioncash
436acbb630
CMakeLists: Change MSVC14 variable to MSVC_VERSION
Use of the MSVC14 variable is discouraged in the CMake documentation
(which makes sense, since MSVC_VERSION is the more general appliable
variable).
7 years ago
bunnei
f437c11caf
audio_core: Implement Sink and SinkStream interfaces with cubeb.
8 years ago
bunnei
0b831dd2ba
Revert "Use Ninja for MSVC AppVeyor builds" ( #584 )
8 years ago
Michał Janiszewski
79de0f8fe8
Drop /std:c++latest from MSVC command line
CMake already sets it to version 17 in all cases
8 years ago