Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ios support #487

Merged
merged 2 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/Toolchain-iOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "")
set(CMAKE_OSX_SYSROOT iphoneos CACHE STRING "")
set(CMAKE_OSX_ARCHITECTURES arm64 CACHE STRING "")
set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET 11.0)
set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET 17.0)
3 changes: 3 additions & 0 deletions tests/main_ios/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ endif()
# Enable ANSI heap debug checks
add_definitions(-DACL_ALLOCATOR_TRACK_NUM_ALLOCATIONS)
add_definitions(-DACL_ALLOCATOR_TRACK_ALL_ALLOCATIONS)

# Set XCode properties
set_property(TARGET ${PROJECT_NAME} PROPERTY XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.acl.acl-unit-tests")
3 changes: 3 additions & 0 deletions tools/acl_decompressor/main_ios/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ endif()
# Enable SJSON
add_definitions(-DACL_USE_SJSON)

# Set XCode properties
set_property(TARGET ${PROJECT_NAME} PROPERTY XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.acl.acl-decompressor")

target_link_libraries(${PROJECT_NAME} PRIVATE "-framework CoreFoundation")

set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/Info.plist.in)
3 changes: 3 additions & 0 deletions tools/regression_tester_ios/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ endif()
# Enable SJSON
add_definitions(-DACL_USE_SJSON)

# Set XCode properties
set_property(TARGET ${PROJECT_NAME} PROPERTY XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.acl.acl-regression-tester")

target_link_libraries(${PROJECT_NAME} "-framework CoreFoundation")
Loading