mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
flatten + cmake
This commit is contained in:
parent
32c8e5d8d2
commit
dfaff2473f
14 changed files with 33 additions and 0 deletions
|
|
@ -255,4 +255,8 @@ if (ANDROID)
|
||||||
target_include_directories(yuzu-android PRIVATE android/app/src/main)
|
target_include_directories(yuzu-android PRIVATE android/app/src/main)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (IOS)
|
||||||
|
add_subdirectory(ios)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(GenerateDepHashes)
|
include(GenerateDepHashes)
|
||||||
|
|
|
||||||
29
src/ios/CMakeLists.txt
Normal file
29
src/ios/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
enable_language(Swift OBJC)
|
||||||
|
|
||||||
|
add_executable(eden-ios
|
||||||
|
AppUI-Bridging-Header.h
|
||||||
|
AppUI.swift
|
||||||
|
AppUIGameInformation.h
|
||||||
|
AppUIGameInformation.mm
|
||||||
|
AppUIObjC.h
|
||||||
|
AppUIObjC.mm
|
||||||
|
Config.h
|
||||||
|
Config.mm
|
||||||
|
EmulationSession.h
|
||||||
|
EmulationSession.mm
|
||||||
|
EmulationWindow.h
|
||||||
|
EmulationWindow.mm
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(eden-ios PRIVATE common core input_common frontend_common video_core glad)
|
||||||
|
target_link_libraries(eden-ios PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||||
|
target_link_libraries(eden-ios PRIVATE SDL2::SDL2)
|
||||||
|
create_target_directory_groups(eden-ios)
|
||||||
|
target_compile_options(eden-ios PRIVATE
|
||||||
|
-Wno-conversion
|
||||||
|
-Wno-unused-variable
|
||||||
|
-Wno-unused-parameter
|
||||||
|
-Wno-missing-field-initializers)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue