Add example app runner for iOS
This commit is contained in:
@@ -4,16 +4,20 @@ function(LinkAppleFrameworks TARGET)
|
||||
PUBLIC "-framework Foundation"
|
||||
PUBLIC "-framework CoreImage"
|
||||
PUBLIC "-framework CoreVideo"
|
||||
PUBLIC "-framework CoreGraphics"
|
||||
PUBLIC "-framework Metal"
|
||||
PUBLIC "-framework MetalPerformanceShaders"
|
||||
PUBLIC "-framework MetalKit"
|
||||
PUBLIC "-framework IOSurface"
|
||||
PUBLIC "-framework QuartzCore"
|
||||
PUBLIC "-lstdc++"
|
||||
PUBLIC c++
|
||||
PUBLIC c
|
||||
)
|
||||
|
||||
if(IOS)
|
||||
target_link_libraries(${TARGET} PUBLIC "-framework ARKit")
|
||||
endif()
|
||||
target_link_libraries(${TARGET} PUBLIC "-framework ARKit")
|
||||
endif()
|
||||
|
||||
# Locate system libraries on iOS
|
||||
find_library(UIKIT UIKit)
|
||||
@@ -30,10 +34,10 @@ function(LinkAppleFrameworks TARGET)
|
||||
target_link_libraries(${TARGET} PUBLIC ${UIKIT})
|
||||
target_link_libraries(${TARGET} PUBLIC ${MOBILECORESERVICES})
|
||||
else()
|
||||
target_link_libraries(${TARGET} PUBLIC ${APPKIT})
|
||||
target_link_libraries(${TARGET} PUBLIC ${IOSURFACE})
|
||||
target_link_libraries(${TARGET} PUBLIC ${QUARTZ})
|
||||
target_link_libraries(${TARGET} PUBLIC ${APPKIT})
|
||||
target_link_libraries(${TARGET} PUBLIC ${QUARTZ})
|
||||
endif()
|
||||
target_link_libraries(${TARGET} PUBLIC ${IOSURFACE})
|
||||
target_link_libraries(${TARGET} PUBLIC ${FOUNDATION})
|
||||
target_link_libraries(${TARGET} PUBLIC ${CFNETWORK})
|
||||
target_link_libraries(${TARGET} PUBLIC ${SYSTEMCONFIGURATION})
|
||||
|
||||
Reference in New Issue
Block a user