mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 07:35:41 +00:00
20 lines
529 B
CMake
20 lines
529 B
CMake
set(SRCS
|
|
include/samplerate.h
|
|
src/common.h
|
|
src/config.h
|
|
src/fastest_coeffs.h
|
|
src/float_cast.h
|
|
src/high_qual_coeffs.h
|
|
src/mid_qual_coeffs.h
|
|
src/samplerate.c
|
|
src/src_linear.c
|
|
src/src_sinc.c
|
|
src/src_zoh.c
|
|
)
|
|
|
|
add_library(libsamplerate ${SRCS})
|
|
target_include_directories(libsamplerate PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
target_include_directories(libsamplerate INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
set_target_properties(libsamplerate PROPERTIES LINKER_LANGUAGE C)
|
|
|