Wwise_ios.cmake 769 B

123456789101112131415161718192021222324
  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. set(WWISE_IOS_LIB_NAMES
  9. AkAACDecoder
  10. )
  11. set(WWISE_LIB_PATH ${BASE_PATH}/SDK/iOS/$<IF:$<CONFIG:Debug>,Debug,$<IF:$<CONFIG:Profile>,Profile,Release>>-iphoneos/lib)
  12. set(WWISE_LIBS)
  13. foreach(libName IN LISTS WWISE_COMMON_LIB_NAMES WWISE_CODEC_LIB_NAMES WWISE_IOS_LIB_NAMES WWISE_ADDITIONAL_LIB_NAMES)
  14. list(APPEND WWISE_LIBS ${WWISE_LIB_PATH}/lib${libName}.a)
  15. endforeach()
  16. foreach(nonReleaseLibName IN LISTS WWISE_NON_RELEASE_LIB_NAMES)
  17. list(APPEND WWISE_LIBS $<$<NOT:$<CONFIG:Release>>:${WWISE_LIB_PATH}/lib${nonReleaseLibName}.a>)
  18. endforeach()