Commit Graph

715 Commits

Author SHA1 Message Date
Jesse Talavera a84dc3123e Use `CMAKE_CURRENT_SOURCE_DIR` for the CMake module path 2024-02-20 08:09:06 -05:00
Jesse Talavera edaafaae2f Have dolphin_scmrev run `ScmRevGen` from `CMAKE_CURRENT_SOURCE_DIR` 2024-02-19 11:41:01 -05:00
Jesse Talavera acb18a58cf Make the path given to `CMAKE_USER_MAKE_RULES_OVERRIDE` absolute 2024-02-17 20:36:17 -05:00
iwubcode ecfcae8718 Externals: add tinygltf, a library used to load or save GLTF mesh files 2024-02-11 13:26:39 -06:00
Martino Fontana 7baedc3ec4 CMake: Enable SDL on Linux by default 2024-01-13 16:10:28 +01:00
Martino Fontana 51e05f468a SDL: Add GameController API, cleanup 2024-01-13 16:10:25 +01:00
Tillmann Karras 6a0b17f8fe CMake: update required enet version
Dolphin now relies on ENET_SOCKOPT_TTL which was merged upstream but not
released yet. This fix assumes that enet continues its current
versioning scheme.
2023-12-01 14:13:07 +00:00
Zopolis4 f0d2ce4683
Remove _M_X86 in favour of _M_X86_64 2023-11-28 23:03:20 +11:00
Tillmann Karras 2b9aee5c8f CMake: allow using system xxhash 2023-11-27 06:02:39 +00:00
sowens99 69ec239a1f Add lz4 submodule 2023-10-02 17:28:23 -04:00
rsgnz 1a9d946a33
Require system fmt >= 10.1 2023-09-24 15:46:39 +02:00
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