test_OpenSSL_mac.sh 573 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. #
  3. # Copyright (c) Contributors to the Open 3D Engine Project.
  4. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. #
  6. # SPDX-License-Identifier: Apache-2.0 OR MIT
  7. #
  8. #
  9. rm -rf temp/build_test
  10. mkdir temp/build_test
  11. cmake -S test -B temp/build_test -G Xcode \
  12. -DCMAKE_TOOLCHAIN_FILE=../../../../Scripts/cmake/Platform/Mac/Toolchain_mac.cmake \
  13. -DCMAKE_MODULE_PATH="$PACKAGE_ROOT" || exit 1
  14. cmake --build temp/build_test --parallel --config Release || exit 1
  15. temp/build_test/Release/test_OpenSSL || exit 1
  16. exit 0