summaryrefslogtreecommitdiff
path: root/CMake
AgeCommit message (Collapse)Author
2025-06-05ScmRevGen: Bump version to 2506a2506arelease-prep-2506aOatmealDome
2025-06-04ScmRevGen: Bump version to 25062506release-prep-2506OatmealDome
2025-04-21Merge branch 'release-prep-2503a'OatmealDome
2025-04-21ScmRevGen: Bump version to 2503aOatmealDome
2025-03-10Merge pull request #13276 from JoshuaVandaele/sfml-3.0.0JMC47
Migrate to SFML 3.0.0
2025-03-10Merge branch 'release-prep-2503'OatmealDome
2025-03-10ScmRevGen: Bump major version to 25032503release-prep-2503OatmealDome
2025-03-05CMake: fix various typosLuz Paz
Also includes a fix for BuildMacOSUniversalBinary.py
2025-02-25Migrate to SFML>=3.0.0Joshua Vandaële
2025-01-17Merge pull request #13187 from OatmealDome/flatpak-appinfoOatmealDome
Flatpak: Use ScmRevGen to generate metainfo XML
2025-01-10Merge pull request #13179 from TellowKrinkle/ForceSystemLibAdmiral H. Curtiss
CMake: Optional system library fixes
2025-01-07Flatpak: Use ScmRevGen to generate metainfo XMLOatmealDome
2024-12-05ScmRevGen: Don't generate Info.plist files directlyOatmealDome
Some generators (like Unix Makefiles and Xcode) copy an app's Info.plist at configure time. This causes a problem when we need to generate the Info.plist at build time, like how we currently do it with ScmRevGen. Instead of generating the Info.plist directly in ScmRevGen, provide an Info.plist without any version information to CMake at configure time, have ScmRevGen generate a separate plist file with the version information at build time, and then merge the two together to create the final Info.plist.
2024-12-01ScmRevGen: Bump major version to 24122412release-prep-2412OatmealDome
2024-11-06CMake: Pass RESOLVED_USE_SYSTEM_<lib> as a parameterTellowKrinkle
Because we were setting it with a scope, it wasn't making its way into called functions that would try to inspect it. Now it does.
2024-11-06CMake: Properly abort when requested system lib is missingTellowKrinkle
2024-09-04ScmRevGen: Bump major version to 24092409release-prep-2409OatmealDome
2024-08-01DolphinPostprocessBundle: Separate "-D" from DOLPHIN_BUNDLE_PATH definitionOatmealDome
For whatever reason, the previous way would inject backslashes into any path that has spaces.
2024-08-01DolphinPostprocessBundle: Use TARGET_BUNDLE_DIR to avoid having to make a ↵OatmealDome
relative path absolute
2024-07-02ScmRevGen: Bump major version to 24072407release-prep-2407OatmealDome
2024-06-30ScmRevGen: Silence output on the standard error when getting the current tagOatmealDome
2024-06-29ScmRevGen: Set commits ahead to zero when on a tagOatmealDome
2024-06-10CMake: CCache: Always make clang happyNeui
When we are using ccache anyway, always add the flags to make clang happy. Also, fix copy-paste error regarding what variable to modify for it.
2024-06-08CMake: Fix CCache support when already using _LAUNCHERNeui
The official ccache documentation[1] recommends to set `CMAKE_C(XX)_COMPILER_LAUNCHER` to ccache to enable ccache. These also work as envionment variables (supported by CMake itself). However, using these instructions generates the following error during building: ccache: error: Recursive invocation (the name of the ccache binary must be "ccache") This is because Dolphin adds an additional command ccache layer (ccache ccache compiler ...). This fixes that issue by checking for `CMAKE_C(XX)_COMPILER_LAUNCHER` before inserting our own. Also, use `CMAKE_C(XX)_COMPILER_LAUNCHER` to add ccache because the CMake docs discourages the use of `RULE_LAUNCH_COMPILE` in favour of `CMAKE_C(XX)_COMPILER_LAUNCHER`. [1]: https://github.com/ccache/ccache/wiki/CMake
2024-05-30Merge pull request #12728 from OatmealDome/mac-version-numbers-2OatmealDome
ScmRevGen: Generate Info.plist files containing the current version
2024-05-07use pkg_search_module to find minizip-ng or minizipGuilherme Janczak
OpenBSD calls minizip-ng's .pc file minizip.pc Others call minizip-ng's .pc file minizip-ng.pc
2024-04-21ScmRevGen: Generate Info.plist for MacUpdaterOatmealDome
2024-04-21ScmRevGen: Generate Info.plist for DolphinQtOatmealDome
2024-04-21ScmRevGen: Refactor file configuration into a functionOatmealDome
2024-03-23Replace SCM_IS_MASTER with SCM_COMMITS_AHEAD_MASTERJordan Woyak
2024-03-19CMake: Hide warnings in Externals also for non-msvc.Jordan Woyak
2023-06-30Merge pull request #11955 from TellowKrinkle/CMakeDependenciesAdmiral H. Curtiss
CMake: Allow ignoring system packages
2023-06-29CMake: Generate scmrev.h at build time instead of configure time.Admiral H. Curtiss
2023-06-15CMake: Support using bundled libraries even if system libraries existTellowKrinkle
2023-06-15CMake: Use targets for all optionally-external dependenciesTellowKrinkle
2023-06-12Merge pull request #10976 from TellowKrinkle/StackFramesOatmealDome
Improve stack frames for profilers
2023-06-06Fix lingering CMAKE_REQUIRED_INCLUDES variable from FindMBEDTLS, this breaks ↵Admiral H. Curtiss
any further can-compile checks.
2023-05-26CMake: Fix build with system Mbed TLSAlexandre Bouvier
2023-05-19Merge pull request #11707 from TellowKrinkle/CMakeIconvAdmiral H. Curtiss
CMake: Use find_package and imported targets for Iconv
2023-04-08CMake: Add custom FindIconvTellowKrinkle
Workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/24695
2023-03-30CMake: Remove custom SDL2 find scriptTellowKrinkle
It doesn't properly set the include paths for macos framework builds of SDL, and SDL has had its own find script since 2.0.10
2023-02-14Fix build when using mGBA in unorthodox locationValeri
Includes use `mgba/` and `mgba-util/` as part of path, making compilation fail when relying on include directory supplied here was actually needed.
2023-01-30Merge pull request #10936 from TellowKrinkle/FixIncludeDirsAdmiral H. Curtiss
CMake: Actually use the include directories specified by dependencies
2022-12-22try for system libmgba firstMaxime Gauduin
2022-09-20WinUpdater: Check OS and VC++ Redist versions.Shawn Hoffman
2022-08-18CMake: Properly include lzma include directoriesTellowKrinkle
2022-08-18CMake: Properly include zstd include directoriesTellowKrinkle
2022-08-10CMake: Don't omit frame pointer on RelWithDebInfo buildsTellowKrinkle
2022-05-22cmake: Disable warnings for most externals on MSVC, like we do in the VS ↵Admiral H. Curtiss
project files.
2022-05-22cmake: Use Policy CMP0117 for more sensible RTTI flag configuration on MSVC.Admiral H. Curtiss