build_zlib_ios.sh 574 B

12345678910111213141516
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. # note that toolchain path is relative to the source path (-S) not to the folder this script lives in.
  9. cmake -S temp/src -B temp/build -G Xcode \
  10. -DCMAKE_TOOLCHAIN_FILE=../../../../Scripts/cmake/Platform/iOS/Toolchain_ios.cmake \
  11. -DSKIP_INSTALL_FILES=YES || exit 1
  12. cmake --build temp/build --target zlibstatic --config Release --parallel || exit 1