ViPERFX_RE/CMakeLists.txt
2021-07-28 12:40:34 +02:00

55 lines
1.3 KiB
CMake

cmake_minimum_required(VERSION 3.19)
project("ViPER4Android Reworked")
set(CMAKE_CXX_COMPILER_VERSION 20)
include_directories(include/)
add_compile_definitions(VERSION_MAJOR=1)
add_compile_definitions(VERSION_MINOR=0)
add_compile_definitions(VERSION_REVISION=0)
add_compile_definitions(VERSION_BUILD=0)
add_compile_definitions(VERSION_CODENAME="Reworked")
set(FILES
# Main
src/Effect.cpp
src/ProcessUnit_FX.cpp
src/viper.cpp
# Effects
src/effects/Cure.cpp
src/effects/Reverberation.cpp
src/effects/TubeSimulator.cpp
# Utils
src/utils/CAllpassFilter.cpp
src/utils/CCombFilter.cpp
src/utils/CRevModel.cpp
src/utils/Crossfeed.cpp
src/utils/DepthSurround.cpp
src/utils/FixedBiquad.cpp
src/utils/IIR_1st.cpp
src/utils/IIR_NOrder_BW_BP.cpp
src/utils/IIR_NOrder_BW_LH.cpp
src/utils/MultiBiquad.cpp
src/utils/PassFilter.cpp
src/utils/TimeConstDelay.cpp
)
add_library(
# Sets the name of the library.
v4afx_r
# Sets the library as a shared library.
SHARED
# Provides a relative path to your source file(s).
${FILES})
target_link_libraries(
v4afx_r
log
)