summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: Unify config handling under frontend_commonGravatar t8952023-11-211-0/+1
| | | | | | Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings. As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
* Update CMakeLists.txtGravatar Samay Navale2023-11-071-2/+2
|
* Update CMakeLists.txtGravatar Samay Navale2023-11-071-5/+5
| | | Updated Comments for better readability.
* ci: fix msvc when used with LTO (#11459)Gravatar liamwhite2023-09-111-0/+1
|
* Merge pull request #11434 from danilaml/fix-warningsGravatar liamwhite2023-09-061-2/+6
|\ | | | | msvc: set warning level to /W4 globally
| * msvc: set warning level to /W4 globallyGravatar Danila Malyutin2023-09-031-2/+6
| | | | | | | | And fix a bunch of warnings
* | general: make -fwrapv generic to all architectures (#11379)Gravatar liamwhite2023-09-021-1/+2
|/
* Avoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang.Gravatar comex2023-08-251-9/+11
|
* Warnings cleanup for GCC 13 and Clang 16Gravatar comex2023-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: For GCC there are still a huge number of `-Warray-bounds` warnings coming from `externals/dynarmic`. I could have added a workaround in `externals/CMakeLists.txt` similar to what this PR does for other externals, but given Dynarmic's close affiliation with Yuzu, it would be better to fix it upstream. Besides that, on my machine, this makes the build warning-free except for some warnings from glslangValidator and AutoMoc. Details: - Disable some warnings in externals. - Disable `-Wnullability-completeness`, which is a Clang warning triggered by the Vulkan SDK where if any pointers in the header are marked _Nullable, it wants all pointers to be marked _Nullable or _Nonnull. Most of them are, but some aren't. Who knows why. - `src/web_service/verify_user_jwt.cpp`: Disable another warning when including `jwt.hpp`. - `src/input_common/input_poller.cpp`: Add missing `override` specifiers. - src/common/swap.h: Remove redundant `operator&`. In general, this file declares three overloads of each operator. Using `+` as an example, the overloads are: - a member function for `swapped_t + integer` - a member function for `swapped_t + swapped_t` - a free function for `integer + swapped_t` But for `operator&`, there was an additional free function for `swapped_t + integer`, which was redundant with the member function. This caused a GCC warning saying "ISO C++ says that these are ambiguous".
* cmake: mark warning disable for gcc 11 (#11301)Gravatar liamwhite2023-08-171-1/+1
|
* cmake: Reposition preprocessor switch commentGravatar toast29032023-07-211-1/+2
| | | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
* cmake: Use standard preprocessor on MSVCGravatar lat9nq2023-07-211-0/+1
|
* CMakeLists: Force C++20 on MSVC due to conflicts with C++23 modulesGravatar Morph2023-06-061-2/+4
| | | | | The latest version of MSVC STL brings C++23 standard library modules, which conflict with precompiled headers. Disabling with /experimental:module- has no effect, so force C++20 in the meantime while we wait for module support in other compilers.
* android: Minimal JNI for yuzu.Gravatar bunnei2023-06-031-0/+5
|
* CMake: Enable type limits on ClangGravatar lat9nq2023-05-021-0/+1
|
* CMakeLists: Enable checks on ClangGravatar lat9nq2023-05-021-0/+2
| | | | | | | Enables shadow-uncaptured-locals and implicit-fallthrough for Clang. implicit-fallthrough is not enabled by default in -Wall or -Wextra, and shadow-uncaptured-local doesn't seem to be enabled by default by -Wshadow, even though GCC has both of these by their respective cases.
* general: fixes for gcc 13Gravatar Liam2023-04-021-0/+11
|
* general: fix spelling mistakesGravatar Liam2023-03-121-1/+1
|
* cmake: make room server optionalGravatar Liam2022-12-281-1/+4
|
* Merge pull request #9300 from ameerj/pchGravatar liamwhite2022-12-031-1/+2
|\ | | | | CMake: Use precompiled headers to improve compile times
| * CMake: Disable PCH on MSVC + Buildcache configsGravatar ameerj2022-11-291-4/+0
| |
| * CMake: Use precompiled headersGravatar ameerj2022-11-291-1/+6
| |
* | general: fix compile for Apple ClangGravatar Liam2022-11-221-0/+2
|/
* CMakeLists: Disable -Wbraced-scalar-init on ClangGravatar Morph2022-10-221-0/+1
| | | | Clang erroneously emits this warning when using designated initializers.
* CMakeLists: Enforce C5233 on MSVCGravatar Morph2022-10-221-0/+1
| | | | This is similar to Clang's -Wunused-lambda-capture
* CMakeLists: Disable C4100 and C4324Gravatar Morph2022-10-221-0/+3
| | | | Disabling C4100 is similar to -Wno-unused-parameter
* CMakeLists: Remove redundant warningsGravatar Morph2022-10-221-6/+0
| | | | These warnings are already included in /W3.
* CMakeLists: Treat MSVC warnings as errorsGravatar Morph2022-10-221-0/+2
|
* general: Enforce C4800 everywhere except in video_coreGravatar Morph2022-10-221-0/+1
|
* CMakeLists: Remove all redundant warningsGravatar Morph2022-10-221-7/+0
| | | | These are already explicitly or implicitly set in src/CMakeLists.txt
* CMakeLists: Consolidate all unused warnings into -WunusedGravatar Morph2022-10-221-3/+3
|
* CMakeLists: Treat -Wall and -Wextra as errorsGravatar Morph2022-10-221-3/+3
|
* NVHOST_CTRl: Implement missing method and fix some stuffs.Gravatar Fernando Sahmkow2022-10-061-0/+1
|
* dedicated_room: Initial implementationGravatar FearlessTobi2022-08-151-0/+1
|
* chore: make yuzu REUSE compliantGravatar Andrea Pappacoda2022-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* network: Add initial files and enet dependencyGravatar FearlessTobi2022-07-251-0/+1
|
* CI: fix cachingGravatar liushuyu2022-07-041-1/+7
|
* CMakeLists: Make variable shadowing a compile-time errorGravatar Morph2022-06-131-0/+5
| | | | Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
* CMakeLists: Enforce C4505 and C5245Gravatar Morph2022-04-071-0/+2
| | | | These are similar to Wunused-function on gcc/clang
* build: remove -fconceptsGravatar Andrea Pappacoda2022-04-051-6/+0
| | | It was needed on GCC versions not supporting `-std=c++20`, but GCC 10 and newer (required to compile yuzu) don't need it anymore
* cmake: make tests optionalGravatar Alexandre Bouvier2022-01-121-1/+4
|
* CMakeLists: Specify /Zm200 when compiling in MSVCGravatar Morph2021-12-061-0/+2
| | | | This increases the memory heap size for constructing precompiled headers to 2x the default.
* CMakeLists: Document the /GT compile optionGravatar Morph2021-10-281-0/+1
|
* Build System: Build with JCC Erratum MitigationGravatar Fernando Sahmkow2021-09-151-0/+5
|
* shader: Initial recompiler workGravatar ReinUsesLisp2021-07-221-0/+1
|
* CMakeLists: Treat -Wsign-compare as an error on GCC/ClangGravatar Morph2021-07-061-0/+1
| | | | Treats (un)signed comparison mismatches as errors to be consistent with MSVC
* Merge pull request #6537 from Morph1984/warningsGravatar bunnei2021-07-051-3/+12
|\ | | | | general: Enforce multiple warnings in MSVC
| * CMakeLists: Disable all warnings for external headersGravatar Morph2021-06-281-0/+5
| | | | | | | | | | | | This lets us avoid needing to wrap external headers with #pragma warning directives for warnings we treat as errors and avoids generating warnings for external code. Thanks to MerryMage for pointing this out.
| * CMakeLists: Enforce C4018, C4267, C4305, C4389Gravatar Morph2021-06-281-3/+7
| |
* | CMakeLists: Enforce C4189Gravatar Morph2021-07-031-0/+1
|/ | | | This supplements C4101 by detecting initialized but unreferenced local variables