Wwise_windows.cmake 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
  3. # its licensors.
  4. #
  5. # For complete copyright and license terms please see the LICENSE at the root of this
  6. # distribution (the "License"). All use of this software is governed by the License,
  7. # or, if provided, by the license below or the license accompanying this file. Do not
  8. # remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
  9. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. #
  11. set(WWISE_WINDOWS_LIB_NAMES
  12. AkAutobahn
  13. SFLib
  14. )
  15. set(WWISE_VS_VER "vc160")
  16. set(WWISE_LIB_PATH ${BASE_PATH}/SDK/x64_${WWISE_VS_VER}/$<IF:$<CONFIG:Debug>,Debug,$<IF:$<CONFIG:Profile>,Profile,Release>>/lib)
  17. set(WWISE_LIBS)
  18. foreach(libName IN LISTS WWISE_COMMON_LIB_NAMES WWISE_CODEC_LIB_NAMES WWISE_WINDOWS_LIB_NAMES WWISE_ADDITIONAL_LIB_NAMES)
  19. list(APPEND WWISE_LIBS ${WWISE_LIB_PATH}/${libName}.lib)
  20. endforeach()
  21. foreach(nonReleaseLibName IN LISTS WWISE_NON_RELEASE_LIB_NAMES)
  22. list(APPEND WWISE_LIBS $<$<NOT:$<CONFIG:Release>>:${WWISE_LIB_PATH}/${nonReleaseLibName}.lib>)
  23. endforeach()
  24. # windows OS libs
  25. list(APPEND WWISE_LIBS
  26. dxguid.lib
  27. DInput8.lib
  28. $<$<NOT:$<CONFIG:Release>>:ws2_32.lib>
  29. )