2022-05-21 01:31:41 +00:00
|
|
|
if (NOT MSVC)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
|
|
endif()
|
2017-08-09 19:55:43 +00:00
|
|
|
|
|
|
|
set(SRCS
|
|
|
|
source/ChannelMaps.cpp
|
|
|
|
source/KissFFT.cpp
|
|
|
|
source/KissFFTR.cpp
|
|
|
|
source/FreeSurroundDecoder.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(FreeSurround STATIC ${SRCS})
|
2024-03-19 06:08:54 +00:00
|
|
|
dolphin_disable_warnings(FreeSurround)
|
2017-08-09 19:55:43 +00:00
|
|
|
target_include_directories(FreeSurround PUBLIC include)
|
|
|
|
target_compile_options(FreeSurround PRIVATE -w)
|