mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 21:21:34 +00:00
Request more memory from the system on iPad
This commit is contained in:
@ -94,9 +94,11 @@ target_compile_definitions(Voxelotl PRIVATE $<$<CONFIG:Debug>:DEBUG>)
|
|||||||
if(VOXELOTL_MOBILE_ENABLED)
|
if(VOXELOTL_MOBILE_ENABLED)
|
||||||
set(VOXELOTL_APPICON "AppIconMobile")
|
set(VOXELOTL_APPICON "AppIconMobile")
|
||||||
set(VOXELOTL_RPATH "@loader_path/Frameworks")
|
set(VOXELOTL_RPATH "@loader_path/Frameworks")
|
||||||
|
set(VOXELOTL_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/MobileVoxelotl.entitlements")
|
||||||
else()
|
else()
|
||||||
set(VOXELOTL_APPICON "AppIcon")
|
set(VOXELOTL_APPICON "AppIcon")
|
||||||
set(VOXELOTL_RPATH "@loader_path/../Frameworks")
|
set(VOXELOTL_RPATH "@loader_path/../Frameworks")
|
||||||
|
set(VOXELOTL_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/Voxelotl.entitlements")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties(Voxelotl PROPERTIES
|
set_target_properties(Voxelotl PROPERTIES
|
||||||
@ -116,7 +118,7 @@ set_target_properties(Voxelotl PROPERTIES
|
|||||||
XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)"
|
XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)"
|
||||||
XCODE_GENERATE_SCHEME ON
|
XCODE_GENERATE_SCHEME ON
|
||||||
XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE "Metal"
|
XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE "Metal"
|
||||||
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/Voxelotl.entitlements"
|
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${VOXELOTL_ENTITLEMENTS}"
|
||||||
MACOSX_BUNDLE_COPYRIGHT "© 2024 Gay Pizza Specifications")
|
MACOSX_BUNDLE_COPYRIGHT "© 2024 Gay Pizza Specifications")
|
||||||
|
|
||||||
if(VOXELOTL_MOBILE_ENABLED)
|
if(VOXELOTL_MOBILE_ENABLED)
|
||||||
|
12
Sources/Voxelotl/MobileVoxelotl.entitlements
Normal file
12
Sources/Voxelotl/MobileVoxelotl.entitlements
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.app-sandbox</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.disable-library-validation</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.developer.kernel.increased-memory-limit</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Reference in New Issue
Block a user