Compare commits

..

7 commits

Author SHA1 Message Date
3c42287bbf
[doc] fix line endings and update macos
All checks were successful
eden-license / license-header (pull_request) Successful in 33s
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-09-07 19:50:07 -04:00
88407ad7af
[cmake] CPMUtil: formatting, git_host, and more
I promise I'm a UI developer

- mbedtls can now be used as a system package
- zycore can now be used as a system package
- cleaned up dynarmic externals
- fixed libusb incorrectly showing as bundled
- add version/tag formatting to JSON
- add custom GIT_HOST option for packages
- moved some of my repos to my new git
- slightly better version identification
- combined VUL/VH since they are codependent (using my combo vendor)

This PR succeeds #383 since it includes it

Signed-off-by: crueter <crueter@eden-emu.dev>
2025-09-07 19:50:07 -04:00
3fd024a8c9
oops
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-09-07 19:50:07 -04:00
cf95b004e0
[ci] update header script for cmake
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-09-07 19:50:07 -04:00
172a0c3857
[cmake] chore: clean up linking, definitions, etc
general clean up of the currently very poorly organized linking/compile
def system. This is very incomplete and needs further work, but chances
are qt_common will mess with it so I will probably merge this into
qt_common.

Signed-off-by: crueter <crueter@eden-emu.dev>
2025-09-07 19:50:07 -04:00
094403d690
[cmake, doc] update freebsd docs & fix ext and bundled defaults
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-09-07 19:50:07 -04:00
2506909fc4
[cmake] Fix FreeBSD building process again 2025-09-07 19:50:07 -04:00
3 changed files with 5 additions and 10 deletions

View file

@ -658,7 +658,7 @@ if(ENABLE_QT)
set_target_properties(Qt6::Platform PROPERTIES INTERFACE_COMPILE_FEATURES "")
endif()
if (YUZU_CRASH_DUMPS)
if (WIN32 AND YUZU_CRASH_DUMPS)
set(BREAKPAD_VER "breakpad-c89f9dd")
download_bundled_external("breakpad/" ${BREAKPAD_VER} "breakpad-win" BREAKPAD_PREFIX "c89f9dd")

View file

@ -251,7 +251,9 @@ if (YUZU_CRASH_DUMPS)
breakpad.cpp
breakpad.h
)
target_link_libraries(yuzu PRIVATE libbreakpad_client)
target_compile_definitions(yuzu PRIVATE YUZU_CRASH_DUMPS)
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")

View file

@ -1,6 +1,3 @@
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@ -11,8 +8,6 @@
#include <client/windows/handler/exception_handler.h>
#elif defined(__linux__)
#include <client/linux/handler/exception_handler.h>
#elif defined(__sun__)
#include <client/solaris/handler/exception_handler.h>
#else
#error Minidump creation not supported on this platform
#endif
@ -54,7 +49,7 @@ static void PruneDumpDirectory(const std::filesystem::path& dump_path) {
}
}
#ifdef __linux__
#if defined(__linux__)
[[noreturn]] bool DumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, void* context,
bool succeeded) {
// Prevent time- and space-consuming core dumps from being generated, as we have
@ -68,7 +63,7 @@ void InstallCrashHandler() {
const auto dump_path = GetEdenPath(Common::FS::EdenPath::CrashDumpsDir);
PruneDumpDirectory(dump_path);
#ifdef _WIN32
#if defined(_WIN32)
// TODO: If we switch to MinGW builds for Windows, this needs to be wrapped in a C API.
static google_breakpad::ExceptionHandler eh{dump_path, nullptr, nullptr, nullptr,
google_breakpad::ExceptionHandler::HANDLER_ALL};
@ -76,8 +71,6 @@ void InstallCrashHandler() {
static google_breakpad::MinidumpDescriptor descriptor{dump_path};
static google_breakpad::ExceptionHandler eh{descriptor, nullptr, DumpCallback,
nullptr, true, -1};
#elif defined(__sun__)
static google_breakpad::ExceptionHandler eh{dump_path, nullptr, DumpCallback, nullptr, true};
#endif
}