Stenzek
0bc9c7ffa1
Common: Replace x86_intrin.h with generic Intrin.h
...
For later Apple Silicon support.
2023-12-24 14:03:14 +10:00
Stenzek
d9abe10308
Misc: Remove explicit PCH include, switch to SPDX
2023-12-24 14:03:14 +10:00
Stenzek
47a65ce01e
Misc: Slim down PCH
2023-12-24 14:03:14 +10:00
JoseAaronLopezGarcia
00e255ee3c
CDVD: Add ZSO support ( #10396 )
...
* add zso support
* format and fixed typo
* fix typo in extension (duplicated .cso)
* format
* proper casting
* use regular casting; added lz4 to gitmodules
* use C++ style casting
* fix casts
* add lz4 submodule
* added windows build configuration
* add lz4 to cmake
* undo
* undo
* add lz4 to SearchForStuff
* undo
* add own lz4 source code
* cleanup
* fix
* add nwe sources to windows build
* cleanup
* don't use precompile headers on lz4
* stupid compiler
* add const. better logging.
* cast to std::string
* 3rdparty: Add lz4
* use 3rdparty lz4
* cleanup references to lz4.cpp
* format code
* add missing header
* use fmt::format
* don't call inflateReset on ZSO
* use LZ4_decompress_safe
* fix syntax
* fix call to LZ4_decompress_safe
* use LZ4_decompress_safe_partial to ignore padded data
* cleanup
* refactor
---------
Co-authored-by: Stenzek <stenzek@gmail.com>
2023-12-15 13:05:04 +10:00
JordanTheToaster
cefcd843fc
Misc: Fix fmt errors
2023-12-01 20:59:18 +10:00
TellowKrinkle
5c1f280988
Mac: Add microphone permissions string
...
Allows us to ask permission to use the microphone
2023-11-21 20:45:55 +10:00
Stenzek
7ec57692b1
Qt: Remove QtNetwork dependency
2023-11-21 20:40:13 +10:00
Stenzek
d58d84dbcf
CI/Flatpak: Bump to KDE 6.6 runtime
2023-10-25 17:53:17 +10:00
Stenzek
e5cb313d92
deps: Update to Qt 6.6.0 and SDL2 2.28.4
...
Also bumps the minimum macOS version to 11.0.
Minimum for building is 6.5.3, because there's no 6.6 flatpak runtime yet.
2023-10-14 12:26:44 +10:00
Stenzek
10b217e0c2
Image: Support loading webp files
2023-10-02 19:52:29 +10:00
Stenzek
5690742937
3rdparty: Remove libjpeg
...
Doesn't appear to be used anywhere.
2023-10-02 17:17:50 +10:00
Stenzek
2148d3d3ab
3rdparty: Move libchdr in-tree
...
Based on 54bfb87 with modifications from DuckStation.
2023-09-27 18:11:46 +10:00
Stenzek
9dad1d79d7
CMake: Generate/copy qtbase translations on Linux/Mac
2023-09-17 16:57:58 +10:00
Stenzek
cf5dd8b822
CMake: Drop Discord Presence option
...
Also no reason to disable this, and an untested configuration.
2023-09-16 19:32:13 +10:00
Stenzek
368e35abb6
CMake: Purge no-achievements option
...
Keeps breaking because we never test it, and there's no reason to
disable achievements anyway.
2023-09-16 19:32:13 +10:00
Stenzek
d15f2a0cbe
CMake: Purge USE_LEGACY_USER_DIRECTORY
...
Had plenty of time to move over.
2023-09-16 19:32:13 +10:00
Stenzek
bd54729257
CMake: Simplify X11 dependencies
2023-09-16 19:32:13 +10:00
Stenzek
a9b6f8976e
Build: Clean up optional components
2023-08-26 17:23:14 +10:00
Stenzek
3567d8913f
CMake: Use dynamic SDL2 on all platforms
2023-08-26 17:23:14 +10:00
Stenzek
e3a1125e84
Build: Silence warnings in third-party projects
2023-08-26 15:02:17 +10:00
Stenzek
42ae23f279
3rdparty: Fix Debug CMake build on Windows
2023-08-24 14:43:00 +01:00
Stenzek
c43775f7b2
3rdparty: Un-submodule libzip
2023-08-24 14:43:00 +01:00
TellowKrinkle
7138faa5cd
CMake: Support linked ffmpeg on macOS
2023-07-22 00:40:24 -05:00
Stenzek
32621a9369
3rdparty: Update wil
...
Gets rid of a -Wdeprecated-volatile error.
2023-07-20 21:23:31 +10:00
Stenzek
ad0190d6ed
Build: Require C++20
2023-07-20 21:23:31 +10:00
Stenzek
ecabadbf95
CMake: Use FindWayland from ECM
...
Fixes previously-broken FindWayland.cmake which had local modifications
that prevented PCSX2 from being compiled on OpenSUSE.
2023-07-06 12:30:05 +10:00
Stenzek
224460e62d
CMake: Remove no-builtin-*cmp, fpmath=sse
...
The former was for a gcc bug which was long fixed (and we don't use gcc).
The latter is irrelevant with 64-bit builds.
2023-06-30 21:37:44 +10:00
Stenzek
3c408de5c9
Build: Disable exceptions in the compiler
2023-06-30 21:37:44 +10:00
Stenzek
ea803ff2d4
Build: Always use bundled soundtouch
...
Because we're disabling exceptions in it.
Might gain a bit of speed by -Ofast as well.
2023-06-30 21:37:44 +10:00
Stenzek
8d5728097b
CMake: Add USE_LINKED_FFMPEG option
2023-06-14 22:56:37 +10:00
TellowKrinkle
260846e9e9
CMake: Don't use system rapidyaml in default builds
2023-06-06 11:29:40 +01:00
TellowKrinkle
656c2775ac
CMake: Add vtune support on Windows
2023-05-27 17:54:53 +02:00
Stenzek
512d24cea6
Misc: More build system cleanups
...
Set UTF-8 source file format globally.
Set permissive/compliance mode globally.
Get rid of include of base 3rdparty directory, be explicit.
Get rid of duplicated properties.
Get rid of leftover plugin property files.
2023-05-16 12:58:19 +01:00
Stenzek
0850a3fab7
Misc: Support building without -fno-operator-names
...
Better to have standard compliance, and MSVC in conformance mode needs
it.
2023-05-16 12:58:19 +01:00
CharlesThobe
9de152b8ee
Linux: implement DBus screensaver inhibitor
2023-04-30 19:18:53 +01:00
rayanHappy
c06d4f477a
Misc: remove unneeded file and clean up a 32bit check
2023-04-27 09:09:04 +01:00
Stenzek
b3a88d6ea7
Qt: Migrate to 6.5.0 on Windows
2023-04-25 21:53:30 +01:00
rayanHappy
267479f31d
Misc: Cmake and GCC compiler flags cleanups
2023-04-25 15:04:39 +01:00
rayanHappy
164462e510
Misc: Remove ICC compiler support
2023-04-25 15:04:39 +01:00
Stenzek
a5ebb388a0
CMake: Enable RAIntegration on Windows builds
2023-03-31 15:46:33 +01:00
Stenzek
b02af117f8
CMake: Swap -g for -g1 in Linux Release builds
...
-g tends to blow the AppImage sizes up a bit too much...
2023-03-21 13:48:16 +00:00
Stenzek
5fc855e519
CMake: Add libbacktrace module
2023-03-20 15:46:32 +00:00
Stenzek
ec927e5dd9
CMake: Force debug symbols in Linux Release builds
2023-03-20 15:46:32 +00:00
TellowKrinkle
11930ed7a2
CMake: Clang-cl support
2023-03-13 20:45:12 +00:00
C.W. Betts
cf179c42b8
cmake: Quiet macOS building warning, we can build on macOS just fine. ( #8136 )
2023-02-14 11:32:39 +01:00
arcum42
8c21765c0f
cmake: Turn back on some warnings that no longer need to be turned off.
2023-01-13 09:27:29 +00:00
arcum42
0a90765ed0
build: -Wno-maybe-uninitialized is a gcc only warning.
2023-01-11 00:55:21 +01:00
arcum42
2892f629f0
build/QT: Unmute the warnings for deprecation & overloading virtuals. Fix assorted warnings. Mute 'maybe initialized' warnings. Add a policy to take care of LTO warnings in cmake.
2023-01-11 00:55:21 +01:00
Stenzek
f240660a6e
CMake: Post-WX cleanup
...
- Remove unused build options
- Disable setcap by default
Applications should not need to call sudo as part of the build process.
- Rename XDG_STD to USE_LEGACY_USER_DIRECTORY
By default, we use ~/.config/PCSX2 now.
- Default Wayland support to on
I don't think there's any systems worth supporting that don't have it.
- Rework "install" logic
Linux no longer installs to GIT_ROOT/bin, it builds direct to BUILD/bin.
Saves a file copy, and running make install before running your developer
build was always silly.
- Don't require install target to build appimage
AppImage creator now just adds the entire bin directory as-is.
Everything needed is in there.
2023-01-02 14:13:42 +00:00
Stenzek
336ef58f61
CMake: Search specifically for the ffmpeg components we need
...
And fix the not-found logic.
2023-01-01 17:11:49 +00:00