Wwise_linux.cmake 858 B

123456789101112131415161718192021222324252627
  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_LIB_PATH ${BASE_PATH}/SDK/Linux_x64/$<IF:$<CONFIG:Debug>,Debug,$<IF:$<CONFIG:Profile>,Profile,Release>>/lib)
  9. set(WWISE_LIBS)
  10. # The non-release libs have to go first, because CommunicationCentral has to
  11. # come before AkSoundEngine
  12. foreach(nonReleaseLibName IN LISTS WWISE_NON_RELEASE_LIB_NAMES)
  13. list(APPEND WWISE_LIBS $<$<NOT:$<CONFIG:Release>>:${WWISE_LIB_PATH}/lib${nonReleaseLibName}.a>)
  14. endforeach()
  15. foreach(libName IN LISTS WWISE_COMMON_LIB_NAMES WWISE_CODEC_LIB_NAMES WWISE_ADDITIONAL_LIB_NAMES)
  16. list(APPEND WWISE_LIBS ${WWISE_LIB_PATH}/lib${libName}.a)
  17. endforeach()
  18. # linux OS libs
  19. list(APPEND WWISE_LIBS
  20. SDL2
  21. )