Files
o3de/cmake/3rdParty/Platform/Windows/Wwise_windows.cmake
T
2021-03-08 14:30:57 -08:00

42 lines
1.4 KiB
CMake

#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(WWISE_WINDOWS_LIB_NAMES
ASIOSourceSink
AkAutobahn
AkMotionGeneratorSource
AkMotionSink
AkMotionSourceSource
MSSpatialSink
SFLib
)
set(WWISE_VS_VER "vc150") # use the version of Wwise built with MSVC2017, or toolset 141
set(WWISE_LIB_PATH ${BASE_PATH}/SDK/x64_${WWISE_VS_VER}/$<IF:$<CONFIG:Debug>,Debug,$<IF:$<CONFIG:Profile>,Profile,Release>>/lib)
set(WWISE_LIBS)
foreach(libName IN LISTS WWISE_COMMON_LIB_NAMES WWISE_CODEC_LIB_NAMES WWISE_WINDOWS_LIB_NAMES WWISE_ADDITIONAL_LIB_NAMES)
list(APPEND WWISE_LIBS ${WWISE_LIB_PATH}/${libName}.lib)
endforeach()
foreach(nonReleaseLibName IN LISTS WWISE_NON_RELEASE_LIB_NAMES)
list(APPEND WWISE_LIBS $<$<NOT:$<CONFIG:Release>>:${WWISE_LIB_PATH}/${nonReleaseLibName}.lib>)
endforeach()
# windows OS libs
list(APPEND WWISE_LIBS
dxguid.lib
DInput8.lib
$<$<NOT:$<CONFIG:Release>>:ws2_32.lib>
)