12a5f73418
Workaround Freebsd/clang/fmt bug
2022-08-10 18:46:10 +12:00
acb10f0006
replace libpng with libspng
2022-07-25 18:32:16 -07:00
c3b64012d1
replace zlib with zlib-ng
...
since the benefits are so high, don't link with shared zlib
2022-07-24 14:33:37 -07:00
869dab5173
CMake: Use system C library for SDL from externals.
2022-07-14 18:40:18 +02:00
e2e7bc2fa3
CMake: Disable warnings and only build static lib for SDL from externals.
2022-07-13 01:50:11 +02:00
fdc327c252
Externals/FatFs: Build as part of Dolphin.
...
Co-authored-by: Pablo Stebler <pablo@stebler.xyz >
2022-07-11 23:11:37 +02:00
ceed42a0ee
Add SDL as a submodule
2022-07-10 15:38:59 -07:00
1c90d836a5
Externals: add spirv-cross using upstream commit 50b4d5389b6a06f86fb63a2848e1a7da6d9755ca
...
Co-authored-by: tellowkrinkle <tellowkrinkle@gmail.com >
2022-06-24 17:52:31 -05:00
8a8e9c5ef6
Merge pull request #10742 from tellowkrinkle/Xcode
...
Improve incremental build time for Xcode projects
2022-06-14 16:14:54 -04:00
7cf5547b97
CMake: Make bundled MoltenVK optional
...
Adds ~20s to incremental build time in Xcode projects
2022-06-11 16:34:33 -05:00
f1b7d9365c
cmake: steam runtime builds should be opt-in, not opt-out
2022-06-08 16:44:14 +02:00
daf8e3ddde
Merge pull request #10462 from OatmealDome/steam-runtime
...
DolphinQt: Add support for a Steam Runtime build
2022-06-06 20:18:06 -04:00
79a7bf02eb
CMake: rename minizip to minizip-ng
...
minizip-ng is the new name used by the upstream project as well as all
distros other than Fedora (but it looks like it will be renamed there).
2022-06-06 14:21:43 +02:00
77d0170285
CMakeLists: Remove comment pertaining to macOS versions prior to 10.14
2022-06-01 22:49:45 -04:00
2648837d8c
CMakeLists: Add flag to disable usage of shared libpng
2022-05-29 13:50:32 -04:00
52d7a6f56a
CMakeLists: Enable LINUX_LOCAL_DEV on Steam builds for Linux
...
The Sys folder should be included along with the executable.
2022-05-29 13:50:32 -04:00
abb7b35011
CMakeLists: Add option to produce a Steam build
2022-05-29 13:50:32 -04:00
6ea7af13e8
cmake: Disable warnings for most externals on MSVC, like we do in the VS project files.
2022-05-22 00:30:56 +02:00
a5e85627b0
cmake: Use Policy CMP0117 for more sensible RTTI flag configuration on MSVC.
2022-05-22 00:30:56 +02:00
7f2ea688d2
cmake: On MSVC, set c++latest by requesting a C++23 feature set.
2022-05-22 00:30:51 +02:00
9908219dc6
cmake: Add a few missing settings from the Visual Studio project files on MSVC.
2022-05-22 00:29:48 +02:00
89fadd26a6
cmake: Use C++latest everywhere on MSVC.
2022-05-22 00:29:48 +02:00
4db1816368
cmake: Require cmake 3.15 for MSVC
...
We need these policies, but we kind of want to avoid requiring cmake
3.15 for all platforms
2022-05-22 00:29:47 +02:00
89fda54820
cmake: fix ninja/msvc builds
...
If you don't set this policy, then cmake doesn't even try
to select a runtime library
2022-05-22 00:29:47 +02:00
54d89b955a
cmake: add missing FFmpeg dependency on windows
2022-05-22 00:29:46 +02:00
e4552c17c8
Change required libfmt version from 8.0 to 8.x
2022-04-23 13:55:22 +05:00
e6ed77b5f6
msvc: enable conformant __cplusplus macro
2022-04-02 02:46:22 -07:00
09432ef098
windows: move ffmpeg bins to submodule
...
udpate ffmpeg to b1cbeabf5e4b3234e895a58bafa371bfb792baf0
enable ffmpeg on arm64
2022-03-29 17:27:46 -07:00
e23df9369d
CMakeLists: Add option to disable automatic update support
2022-03-18 03:04:51 -04:00
7b8e846d0a
Merge pull request #10367 from Pokechu22/fmt-8.1.1
...
Update to fmt 8.1.1
2022-01-20 21:14:41 +01:00
ad9e8d97a9
CMakeLists: Replace tab characters with spaces
...
This commit only touches CMakeLists in Source and the main one; it doesn't touch them in Externals.
2022-01-16 15:20:40 -08:00
cb662509f2
CMake: Bump fmt version requirement to 8.0
...
We will be using fmt::runtime, which was added in fmt 8.0.0.
2022-01-13 11:11:01 -08:00
1aa8a4d46f
DolphinTool: CLI utility interface and disc image tools
2021-12-03 15:40:19 -06:00
2209dc0355
MoltenVK: Use an external project instead of a pre-compiled dylib
...
Also, update MoltenVK to match Vulkan SDK 1.2.189.
2021-11-13 11:43:23 -08:00
b997048cfe
Merge pull request #10142 from aldelaro5/gdb-stub-rework
...
Rework the entire logic of the GDB stub
2021-10-24 01:51:29 +13:00
94a0f416eb
GDBStub: remove the cmake option and the ifdefs
2021-10-21 08:26:42 -04:00
fa6821aeb0
Enable deb package generation with cpack
2021-10-16 09:15:22 -04:00
90437d1574
Change how FFmpeg is imported for Apple computers.
...
Imports Apple libraries and also pulls swresample in, so when compiling Dolphin doesn't throw undefined symbols.
2021-10-06 18:11:32 -10:00
e5a80995dc
Bump minimum macOS to 10.13 High Sierra
2021-08-17 16:27:22 -04:00
44aaf108d1
Externals: Integrate mGBA as a submodule
2021-07-13 16:39:29 +02:00
12c439860d
Apple M1: Only add x86 compile flags to x86 builds
...
- Removed -mssse3 flag from arm64 builds
- Removed -march=core2 from arm64 builds
2021-05-22 15:25:18 -07:00
948764d37b
Apple M1: Build, Analytics, and Memory Management
...
Analytics:
- Incorporated fix to allow the full set of analytics that was recommended by
spotlightishere
BuildMacOSUniversalBinary:
- The x86_64 slice for a universal binary is now built for 10.12
- The universal binary build script now can be configured though command line
options instead of modifying the script itself.
- os.system calls were replaced with equivalent subprocess calls
- Formatting was reworked to be more PEP 8 compliant
- The script was refactored to make it more modular
- The com.apple.security.cs.disable-library-validation entitlement was removed
Memory Management:
- Changed the JITPageWrite*Execute*() functions to incorporate support for
nesting
Other:
- Fixed several small lint errors
- Fixed doc and formatting mistakes
- Several small refactors to make things clearer
2021-05-22 15:25:17 -07:00
4ecb3084b7
Apple M1 Support for MacOS
...
This commit adds support for compiling Dolphin for ARM on MacOS so that it can
run natively on the M1 processors without running through Rosseta2 emulation
providing a 30-50% performance speedup and less hitches from Rosseta2.
It consists of several key changes:
- Adding support for W^X allocation(MAP_JIT) for the ARM JIT
- Adding the machine context and config info to identify the M1 processor
- Additions to the build system and docs to support building universal binaries
- Adding code signing entitlements to access the MAP_JIT functionality
- Updating the MoltenVK libvulkan.dylib to a newer version with M1 support
2021-05-22 15:25:17 -07:00
ae9ac510e2
CMake: Do not enable LTO by default for MSVC
...
LTO is supposed to be enabled by default for VS Release builds
according to the VS prop files but a build log from JMC reveals
that /GL and /LTCG are not actually passed to cl.exe/link.exe
for some reason...
LTO also leads to *extremely* and unacceptably slow build times
when using link.exe, so let's disable it by default to actually
match the project files.
2021-04-27 12:54:18 +02:00
20d00dfc79
CMake: Add missing MSVC optimization flags to match VS project props
2021-04-27 12:54:18 +02:00
c69747c7fb
CMake: Fix CMAKE_RUNTIME_OUTPUT_DIRECTORY being ignored in UnitTests
...
CMAKE_RUNTIME_OUTPUT_DIRECTORY_<mode> overrode CMAKE_RUNTIME_OUTPUT_DIRECTORY.
It's just unnecessary and it broke UnitTests's custom output directory
2021-04-27 12:54:18 +02:00
dcf3ca0f89
CMake: Force gtest to link CRT dynamically to avoid runtime mismatches
...
Required to fix unit test builds for Windows+MSVC+CMake.
For more information, see:
23ef29555e/googletest/README.md (visual-studio-dynamic-vs-static-runtimes)
2021-04-27 12:54:18 +02:00
18174d3ed6
Merge pull request #9649 from leoetlino/cmake-auto-update-track
...
Make it possible to enable auto-updates by default with CMake builds
2021-04-24 19:44:51 +02:00
91669c25fe
Merge pull request #9650 from leoetlino/consistent-build-binary-dirs
...
Put x86_64 Windows binaries in Binary/x64 for consistency with ARM64
2021-04-24 19:22:05 +02:00
6910fab63f
cmake: Replace /Zi with /Z7 for sccache support
...
Also allows better parallelization since there's no contention on a PDB
file with compiling.
2021-04-24 17:59:34 +02:00