Files
eden/src/ios/CMakeLists.txt
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
1010 B
CMake
Raw Normal View History

2026-02-19 04:22:20 +00:00
# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
2026-02-19 04:21:48 +00:00
# SPDX-License-Identifier: GPL-3.0-or-later
2026-02-22 03:18:09 +00:00
enable_language(Swift OBJCXX)
2026-02-19 04:21:48 +00:00
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
)
2026-03-25 00:54:31 +00:00
# Keep bundle identifier as-is, for compatibility sake
set_target_properties(eden-ios PROPERTIES
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.yuzu-emu.yuzu"
XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "YUZU1234"
2026-03-25 01:34:15 +00:00
XCODE_ATTRIBUTE_SWIFT_OBJC_BRIDGING_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/AppUI-Bridging-Header.h"
2026-03-25 00:54:31 +00:00
)
2026-03-25 23:44:56 +00:00
target_link_libraries(eden-ios PRIVATE common core input_common frontend_common video_core)
2026-02-19 04:21:48 +00:00
target_link_libraries(eden-ios PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
2026-03-25 23:44:56 +00:00
target_link_libraries(eden-ios PRIVATE SDL2::SDL2 glad sirit::sirit)
2026-02-19 04:21:48 +00:00
create_target_directory_groups(eden-ios)