Archived
1
Fork 0

Correctly add resources to iOS app bundle

This commit is contained in:
Joshua Goins 2022-02-12 20:31:37 -05:00
parent d1e4e1aff5
commit b39e539a37

View file

@ -81,7 +81,16 @@ function(add_platform_commands APP_NAME)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fobjc-arc")
configure_file(${PROJECT_SOURCE_DIR}/platforms/ios/plist.in ${CMAKE_BINARY_DIR}/${add_platform_executable_TARGET}Info.plist)
set(IOS_DIRECTORY ${PROJECT_SOURCE_DIR}/platforms/ios)
configure_file(${IOS_DIRECTORY}/plist.in ${CMAKE_BINARY_DIR}/${add_platform_executable_TARGET}Info.plist)
set(RESOURCES
${IOS_DIRECTORY}/Main.storyboard
${IOS_DIRECTORY}/LaunchScreen.storyboard
${CMAKE_SOURCE_DIR}/data
${CMAKE_BINARY_DIR}/shaders
)
set_target_properties(${APP_NAME} PROPERTIES
XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf-with-dsym"