aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorHALX99 <[email protected]>2020-08-24 14:09:02 -0700
committerGitHub <[email protected]>2020-08-24 14:09:02 -0700
commitde060ce09a3b5fde8641316a7dbd7bdb8f695ffb (patch)
treea0bf7b18cbdf5251732f2bffe4abc0cf00a8c74f /.travis.yml
parent4eba5c34e97dc94174a1f8834ec4677f1da7f21a (diff)
macOS osx/ios dynamic framework support (#466)
* OSX bundle support * Disable framework by default, and fix domain name typo * Remove info.plist, add efx.h for framework public header * Fix osx/ios framework PUBLIC_HEADER doesn't work * Refine comment message * Auto set CFBundleShortVersionString by var LIB_VERSION * Set CFBundleVersion from git commit count * Use space to separate elements in a list * Specific framework name to variable 'IMPL_TARGET' * Solve cmake try_compile failed with code sign, and disable framework code sign * Make ios travis to build dynamic framework bundle by default * Update ios.toolchain.cmake Since we solve code sign issue for cmake to generate dynamic framework xcode project, enable strict try_compile by default * Remove MAKE_CXX_EXTENSIONS from travis-ci * Combined flat lib armv7;arm64 support * Remvoe ios.toolchain.cmake since we don't need [skip appveyor] [skip travis] * Sets framework name to soft_oal, avoid ambiguous with system OpenAL.framework * Fix missing BUNDLE, FRAMEWORK's DESTINATION Build osx/ios dynamic framework required them. * Use @rpath instead fullPath to mac local disk see also: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/c80ddef7a4ce21ace9e3ca0fd190d320cc8cdaeb * CMake, use TRUE for bool value * Don't disable examples, utils, install * Make ALSOFT_OSX_FRAMEWORK for APPLE spec * Remove unused flag and more clearly comment * More clearly comment for solve armv7 target issue Co-authored-by: deal <[email protected]> Co-authored-by: bel <[email protected]>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 41318268..5931c521 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -114,13 +114,11 @@ script:
if [[ "${TRAVIS_OS_NAME}" == "osx" && "${BUILD_IOS}" == "true" ]]; then
cmake \
-GXcode \
- -DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake \
- -DPLATFORM=OS \
+ -DCMAKE_SYSTEM_NAME=iOS \
+ -DALSOFT_OSX_FRAMEWORK=ON \
-DALSOFT_REQUIRE_COREAUDIO=ON \
-DALSOFT_EMBED_HRTF_DATA=YES \
- -DLIBTYPE=STATIC \
- -DALSOFT_UTILS=OFF \
- -DALSOFT_EXAMPLES=OFF \
+ "-DCMAKE_OSX_ARCHITECTURES=armv7;arm64" \
.
fi
- cmake --build . --clean-first