Commit Graph

704 Commits

Author SHA1 Message Date
Martino Fontana
c43c9101c0 CMake: use version flags if Git isn't found 2023-08-14 11:27:39 +02:00
Jeremy Newton
6dad8f8372 Allow shared zlib-ng 2023-07-14 09:29:04 -04:00
Admiral H. Curtiss
fa81006b51
Merge pull request #11955 from TellowKrinkle/CMakeDependencies
CMake: Allow ignoring system packages
2023-06-30 19:06:04 +02:00
Admiral H. Curtiss
2a6f4d879c
CMake: Generate scmrev.h at build time instead of configure time. 2023-06-29 03:23:31 +02:00
Jordi Mallach
51d4eea7c5 Allow building against system gtest 2023-06-15 10:32:05 +02:00
TellowKrinkle
ade40650f5 CMake: Support using bundled libraries even if system libraries exist 2023-06-15 01:41:41 -05:00
TellowKrinkle
5b10a80401 CMake: Use targets for all optionally-external dependencies 2023-06-15 01:41:41 -05:00
OatmealDome
1a0a1e8f12
Merge pull request #10976 from TellowKrinkle/StackFrames
Improve stack frames for profilers
2023-06-12 05:00:08 +02:00
Robin Kertels
23bebc5270
VideoBackends:Vulkan: Allow loading custom drivers on Android
... using libadrenotools
2023-06-11 13:52:34 +02:00
Admiral H. Curtiss
86f1ef1e33
Merge pull request #11707 from TellowKrinkle/CMakeIconv
CMake: Use find_package and imported targets for Iconv
2023-05-19 19:27:16 +02:00
Admiral H. Curtiss
b514df1227
Merge pull request #10969 from phire/minimum_compilers
Enforce minimum supported versions of GCC and Clang
2023-05-01 03:03:05 +02:00
Pierre Bourdon
af52b5a2d9
Merge pull request #11710 from TellowKrinkle/SDL2Framework
CMake: Fix building against macOS framework builds of SDL
2023-04-11 04:30:17 +02:00
TellowKrinkle
b9595a2230 CMake: Use find_package and imported targets for Iconv
Fixes us forgetting to add its include directories, which could result in linking to a dylib from MacPorts while using the system's header, and failing to link because they use different function names
2023-04-08 21:43:03 -05:00
Pokechu22
969d5e0fbe CMake: Don't include SPIRV-Cross except on Windows and macOS
Building it on Linux is unnecessary as Direct3D and Metal are unavailable.
2023-04-06 18:37:50 -07:00
LillyJadeKatrin
f3114b59f4 Added USE_RETRO_ACHIEVEMENTS compiler flag
Added a flag to VS and CMake for enabling RetroAchievements integration.
2023-04-02 08:28:25 -04:00
LillyJadeKatrin
2836feac71 Added rcheevos to Externals
Adds the rcheevos library from RetroAchievements to the Dolphin Externals as a submodule. Change was verified to import correctly and build both via Visual Studio and via cmake ninja.
2023-04-02 08:28:23 -04:00
TellowKrinkle
38b8547055 CMake: Enable CMP0099
Allows INTERFACE_LINK_OPTIONS to propagate through private dependencies, required by MacOS framework builds of SDL2
2023-03-30 21:16:27 -05:00
Shawn Hoffman
5bf9ad7d82 msvc: enable compiler checks added in vs 17.5 2023-03-04 14:18:18 -08:00
Scott Mansell
a306da2f80 Bump requried Clang to 12 (AppleClang 13.0.0) 2023-02-23 15:27:57 +13:00
Scott Mansell
f34a09b39f Enforce minimum supported versions of GCC and Clang
We already have a minimum required version of MSVC
2023-02-23 15:18:38 +13:00
JosJuice
90b676d368 Android: Fix armeabi-v7a build
This very much isn't a build configuration that we're going to ship,
but I want to be able to tell people that they can build it on their
own if they really want to see how terribly it performs :)

Just like before, you'll need to edit two lines in app/build.gradle to
define ENABLE_GENERIC=ON and actually enable armeabi-v7a if you want an
armeabi-v7a build. This commit just fixes some compilations errors that
crop up if you do so.
2023-02-17 16:58:24 +01:00
Jordi Mallach
4d164fcb77 Allow building against system libspng 2023-02-06 13:30:46 +01:00
Admiral H. Curtiss
69b178e95f
Merge pull request #11157 from h3xx/use-gnuinstalldirs
Use GNUInstallDirs for installation paths
2023-02-01 19:35:46 +01:00
Scott Mansell
6bb2e4d706 CMake/MSVC: Fix warnings about conflicting /Zi and /Z7 2023-01-31 23:21:07 +13:00
Dan Church
81388eedaa
Use GNUInstallDirs for installation paths 2023-01-30 09:44:44 -06:00
Admiral H. Curtiss
1eb69ea0a0
Merge pull request #10936 from TellowKrinkle/FixIncludeDirs
CMake: Actually use the include directories specified by dependencies
2023-01-30 09:19:06 +01:00
Mai
5525f011be
Merge pull request #11436 from shuffle2/msvc-Zc
msvc: update c++ conformance flags
2023-01-24 16:46:14 +00:00
Pierre Bourdon
4fc6488844
Merge pull request #11362 from alucryd/feat/system-libmgba
try for system libmgba first
2023-01-17 23:35:02 +01:00
SuperSamus
2929742d82
CMake: search for shared minizip-ng as minizip
The pkgconfig file for `minizip-ng` is `minizip.pc.cmakein`.
2023-01-14 12:39:12 +01:00
Shawn Hoffman
f2aed92fd1 cmake: update msvc conformance flags 2023-01-13 01:55:42 -08:00
JMC47
e06c1158e9
Merge pull request #11361 from shuffle2/osx
update min macos version to 10.15
2023-01-08 20:08:59 -05:00
Sam Belliveau
5ca438dd97 Add Dear ImPlot Library 2022-12-22 14:32:42 -05:00
Shawn Hoffman
c74f65426a update min macos version to 10.15 2022-12-22 11:15:12 -08:00
Maxime Gauduin
afde3a0e0d try for system libmgba first 2022-12-22 19:18:07 +01:00
smurf3tte
7842f9a715 Debugger: Initial implementation of conditional breakpoints
Expression class to store compiled expressions and associated variable list.

Co-authored-by:  TryTwo <taolas@gmail.com>
2022-10-06 21:34:44 -07:00
Zopolis4
45afab7d5d
In CMake, check for and remove in-tree scmrev.h generated by Visual Studio 2022-09-19 08:53:24 +10:00
TellowKrinkle
1bc133f3ae CMake: Properly include lzma include directories 2022-08-18 21:06:57 -05:00
TellowKrinkle
048f6fac52 CMake: Properly include zstd include directories 2022-08-18 21:06:57 -05:00
TellowKrinkle
b5da4e9d48 CMake: Don't omit frame pointer on RelWithDebInfo builds 2022-08-10 23:48:56 -05:00
Scott Mansell
12a5f73418 Workaround Freebsd/clang/fmt bug 2022-08-10 18:46:10 +12:00
Shawn Hoffman
acb10f0006 replace libpng with libspng 2022-07-25 18:32:16 -07:00
Shawn Hoffman
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
Admiral H. Curtiss
869dab5173
CMake: Use system C library for SDL from externals. 2022-07-14 18:40:18 +02:00
Admiral H. Curtiss
e2e7bc2fa3
CMake: Disable warnings and only build static lib for SDL from externals. 2022-07-13 01:50:11 +02:00
Admiral H. Curtiss
fdc327c252
Externals/FatFs: Build as part of Dolphin.
Co-authored-by: Pablo Stebler <pablo@stebler.xyz>
2022-07-11 23:11:37 +02:00
Jun Bo Bi
ceed42a0ee Add SDL as a submodule 2022-07-10 15:38:59 -07:00
iwubcode
1c90d836a5 Externals: add spirv-cross using upstream commit 50b4d5389b6a06f86fb63a2848e1a7da6d9755ca
Co-authored-by: tellowkrinkle <tellowkrinkle@gmail.com>
2022-06-24 17:52:31 -05:00
JMC47
8a8e9c5ef6
Merge pull request #10742 from tellowkrinkle/Xcode
Improve incremental build time for Xcode projects
2022-06-14 16:14:54 -04:00
TellowKrinkle
7cf5547b97 CMake: Make bundled MoltenVK optional
Adds ~20s to incremental build time in Xcode projects
2022-06-11 16:34:33 -05:00
Pierre Bourdon
f1b7d9365c
cmake: steam runtime builds should be opt-in, not opt-out 2022-06-08 16:44:14 +02:00