Skip to content
Merged

Dev #103

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
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ jobs:
osx_image: xcode12.2
env:
- PLATFORM=MAC DEPLOYMENT_TARGET=10.13
- name: "Xcode version 12.2, Target macOS [x86_64] SDK 10.13 [shared example]"
stage: "macOS builds"
osx_image: xcode12.2
env:
- PLATFORM=MAC DEPLOYMENT_TARGET=10.13 -DBUILD_SHARED=1
- name: "Xcode version 12.2, Target macOS on Apple Silicon [arm64] SDK 11.0 [allowed failure]"
stage: "macOS builds"
osx_image: xcode12.2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ cmake --install . --config Release

`CMAKE_OSX_ARCHITECTURES` - Architectures being compiled for (generated from PLATFORM).

`APPLE_TARGET_TRIPLE` - Used by autoconf build systems. NOTE: If "`ARCHS` are overridden, this will **NOT** be set!
`APPLE_TARGET_TRIPLE` - Used by autoconf build systems.

### Additional Options
`-DENABLE_BITCODE=(BOOL)` - Enabled by default, specify FALSE or 0 to disable bitcode
Expand Down
14 changes: 7 additions & 7 deletions example/example-lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} )
include(CheckCXXSymbolExists)
check_cxx_symbol_exists(kqueue sys/event.h HAVE_KQUEUE)
if(NOT HAVE_KQUEUE)
message(FATAL_ERROR "kqueue NOT found!")
message(STATUS "kqueue NOT found!")
else()
message(STATUS "kqueue found!")
endif()

find_library(HAVE_APPKIT AppKit)
if (NOT HAVE_APPKIT)
find_library(APPKIT_LIBRARY AppKit)
if (NOT APPKIT_LIBRARY)
message(STATUS "AppKit.framework NOT found!")
else()
message(STATUS "AppKit.framework found!")
message(STATUS "AppKit.framework found! ${APPKIT_LIBRARY}")
endif()

find_library(HAVE_UIKIT UIKit)
if (NOT HAVE_UIKIT)
find_library(UIKIT_LIBRARY UIKit)
if (NOT UIKIT_LIBRARY)
message(STATUS "UIKit.framework NOT found!")
else()
message(STATUS "UIKit.framework found!")
message(STATUS "UIKit.framework found! ${UIKIT_LIBRARY}")
endif()

# Hook up XCTest for the supported plaforms (all but WatchOS)
Expand Down
Loading