aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2022-12-28cmake: make room server optionalLiam
2022-12-03Merge pull request #9300 from ameerj/pchliamwhite
CMake: Use precompiled headers to improve compile times
2022-11-29CMake: Disable PCH on MSVC + Buildcache configsameerj
2022-11-29CMake: Use precompiled headersameerj
2022-11-22general: fix compile for Apple ClangLiam
2022-10-22CMakeLists: Disable -Wbraced-scalar-init on ClangMorph
Clang erroneously emits this warning when using designated initializers.
2022-10-22CMakeLists: Enforce C5233 on MSVCMorph
This is similar to Clang's -Wunused-lambda-capture
2022-10-22CMakeLists: Disable C4100 and C4324Morph
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22CMakeLists: Remove redundant warningsMorph
These warnings are already included in /W3.
2022-10-22CMakeLists: Treat MSVC warnings as errorsMorph
2022-10-22general: Enforce C4800 everywhere except in video_coreMorph
2022-10-22CMakeLists: Remove all redundant warningsMorph
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-22CMakeLists: Consolidate all unused warnings into -WunusedMorph
2022-10-22CMakeLists: Treat -Wall and -Wextra as errorsMorph
2022-10-06NVHOST_CTRl: Implement missing method and fix some stuffs.Fernando Sahmkow
2022-08-15dedicated_room: Initial implementationFearlessTobi
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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
2022-07-25network: Add initial files and enet dependencyFearlessTobi
2022-07-04CI: fix cachingliushuyu
2022-06-13CMakeLists: Make variable shadowing a compile-time errorMorph
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.
2022-04-07CMakeLists: Enforce C4505 and C5245Morph
These are similar to Wunused-function on gcc/clang
2022-04-05build: remove -fconceptsAndrea Pappacoda
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
2022-01-12cmake: make tests optionalAlexandre Bouvier
2021-12-06CMakeLists: Specify /Zm200 when compiling in MSVCMorph
This increases the memory heap size for constructing precompiled headers to 2x the default.
2021-10-28CMakeLists: Document the /GT compile optionMorph
2021-09-15Build System: Build with JCC Erratum MitigationFernando Sahmkow
2021-07-22shader: Initial recompiler workReinUsesLisp
2021-07-06CMakeLists: Treat -Wsign-compare as an error on GCC/ClangMorph
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
2021-07-05Merge pull request #6537 from Morph1984/warningsbunnei
general: Enforce multiple warnings in MSVC
2021-07-03CMakeLists: Enforce C4189Morph
This supplements C4101 by detecting initialized but unreferenced local variables
2021-06-28CMakeLists: Disable all warnings for external headersMorph
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.
2021-06-28CMakeLists: Enforce C4018, C4267, C4305, C4389Morph
2021-05-17CMakeLists: Enforce C4715 on MSVCMorph
This is similar to -Werror=return-type
2021-03-05CMakeLists: Add /utf-8 compile option for MSVCMorph
Ensures that the source and execution character sets are in UTF-8
2021-01-24cmake: Enforce -Warray-bounds and -Wmissing-field-initializers globallyReinUsesLisp
2021-01-15Merge pull request #5352 from ReinUsesLisp/remove-testerLC
cmake: Remove yuzu_tester
2021-01-15cmake: Remove yuzu_testerReinUsesLisp
We never ended up using yuzu_tester. Removing it saves code duplication with yuzu_cmd, and distribution size on prebuilt packages. For unit testing, we can use catch2 from guest code and dump the results to a file. Then execute yuzu from a script on ci if we want this to be automated.
2021-01-15cmake: Enforce -Wunused-function code-base wideReinUsesLisp
2021-01-13cmake: Enforce -Werror=switch and -Werror=unused-variableMorph
2021-01-10cmake: Enforce C4101Morph
This matches GCC's -Wunused-variable
2021-01-09cmake: Enforce C4062, C4265, C4388, and C5038ReinUsesLisp
This should match some warnings we treat as errors on gcc and clang, caching bugs early and reducing the number of instances where we have to edit commits to make CI happy when developing from Windows.
2020-12-30cmake: Enforce -WuninitializedReinUsesLisp
2020-11-27CMakeLists: disable -Winvalid-offsetofcomex
This Clang warning complains when offsetof is used on a non-standard-layout type (i.e. any class using various C++ features), even though it works fine (and is not undefined behavior as of C++17).
2020-10-30CMakeLists: Resolve MSVC build failuresLioncash
Prevents the compiler tripping up about Windows headers.
2020-10-30General: Catch more expressions with no effect on MSVCLioncash
MSVC lets us fine-tune catching expressions with no side-effects a little more.
2020-10-30General: Make ignoring a discarded return value an errorLioncash
Allows our CI to catch more potential bugs. This also removes the [[nodiscard]] attribute of IOFile's Open member function. There are cases where a file may want to be opened, but have the status of it checked at a later time.
2020-08-03CMakeLists: Resolve #4478Lioncash
This switch is enabled by default in all recent versions of GCC and Clang.
2020-08-03ipc: Allow all trivially copyable objects to be passed directly into ↵David
WriteBuffer (#4465) * ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer With the support of C++20, we can use concepts to deduce if a type is an STL container or not. * More agressive concept for stl containers * Add -fconcepts * Move to common namespace * Add Common::IsBaseOf
2020-06-27Build System: Fix GCC & MINGW Build.Fernando Sahmkow
2020-04-16CMakeLists: Make missing declarations a compile-time errorLioncash
Ensures that our code always has its linkage explicit.