mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 16:37:52 +00:00
Updates sirit to our fork's latest version w/ SPIRV Headers included (end goal is to remove spirv-headers entirely, as spirv-tools-ci should include them inline as well) Adds a sirit CI on our fork for all platforms (saves a bit of compile time) My CI spec has changed a little bit, and now there is no need for an additional CMake file after the initial CMakeLists.txt (since targets are now global imported). Plus, UNIX amd64 now has the amd64 suffix like aarch64 and windows Updates SDL2 to 2.32.10 and OpenSSL to 3.6.0 Finally, on Solaris all CI packages (sans FFmpeg) are now built with OmniOS, which should in theory be fully compatible with OpenIndiana (our recommended Sun-based target) but obviously will need testing Need testing: - [ ] Make sure I didn't nuke shader emission - [ ] Make sure FreeBSD, OpenBSD, and OpenIndiana work fine with bundled sirit (check linking especially) - [ ] Make sure SDL2, OpenSSL work with OpenIndiana now - [ ] SDL2 on all platforms (input, etc) Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2655
50 lines
1.2 KiB
CMake
50 lines
1.2 KiB
CMake
# 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
|
|
|
|
find_package(Qt6 REQUIRED COMPONENTS Core)
|
|
find_package(Qt6 REQUIRED COMPONENTS Core)
|
|
|
|
add_library(qt_common STATIC
|
|
qt_common.h
|
|
qt_common.cpp
|
|
|
|
uisettings.cpp
|
|
uisettings.h
|
|
|
|
qt_config.cpp
|
|
qt_config.h
|
|
|
|
shared_translation.cpp
|
|
shared_translation.h
|
|
qt_path_util.h qt_path_util.cpp
|
|
qt_game_util.h qt_game_util.cpp
|
|
qt_frontend_util.h qt_frontend_util.cpp
|
|
qt_meta.h qt_meta.cpp
|
|
qt_content_util.h qt_content_util.cpp
|
|
qt_rom_util.h qt_rom_util.cpp
|
|
qt_applet_util.h qt_applet_util.cpp
|
|
qt_progress_dialog.h qt_progress_dialog.cpp
|
|
|
|
)
|
|
|
|
create_target_directory_groups(qt_common)
|
|
|
|
# TODO(crueter)
|
|
if (ENABLE_QT)
|
|
target_link_libraries(qt_common PRIVATE Qt6::Widgets)
|
|
endif()
|
|
|
|
add_subdirectory(externals)
|
|
|
|
target_link_libraries(qt_common PRIVATE core Qt6::Core SimpleIni::SimpleIni QuaZip::QuaZip)
|
|
|
|
if (NOT APPLE AND ENABLE_OPENGL)
|
|
target_compile_definitions(qt_common PUBLIC HAS_OPENGL)
|
|
endif()
|
|
|
|
if (NOT WIN32)
|
|
target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
|
|
endif()
|