2021-07-27 15:47:15 +08:00
|
|
|
cmake_minimum_required(VERSION 3.19)
|
|
|
|
|
|
|
|
project("ViPER4Android Reworked")
|
|
|
|
|
|
|
|
set(CMAKE_CXX_COMPILER_VERSION 20)
|
|
|
|
|
2021-07-27 23:41:38 +08:00
|
|
|
include_directories(include/)
|
2021-07-28 01:00:39 +08:00
|
|
|
|
|
|
|
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")
|
2021-07-27 15:47:15 +08:00
|
|
|
|
|
|
|
set(FILES
|
|
|
|
# Main
|
|
|
|
src/Effect.cpp
|
|
|
|
src/ProcessUnit_FX.cpp
|
|
|
|
src/viper.cpp
|
|
|
|
|
|
|
|
# Effects
|
2021-07-30 22:54:59 +08:00
|
|
|
src/effects/AnalogX.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/effects/Cure.cpp
|
2021-07-31 07:15:40 +08:00
|
|
|
src/effects/DiffSurround.cpp
|
2021-07-28 20:20:36 +08:00
|
|
|
src/effects/DynamicSystem.cpp
|
2021-07-28 06:54:15 +08:00
|
|
|
src/effects/Reverberation.cpp
|
2021-07-31 03:51:26 +08:00
|
|
|
src/effects/SpeakerCorrection.cpp
|
2021-07-30 22:54:59 +08:00
|
|
|
src/effects/SpectrumExtend.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/effects/TubeSimulator.cpp
|
2021-09-18 19:37:23 +08:00
|
|
|
src/effects/VHE.cpp
|
2021-07-31 22:00:35 +08:00
|
|
|
src/effects/ViPERClarity.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
|
|
|
|
# Utils
|
|
|
|
src/utils/CAllpassFilter.cpp
|
2021-07-28 06:35:19 +08:00
|
|
|
src/utils/CCombFilter.cpp
|
|
|
|
src/utils/CRevModel.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/utils/Crossfeed.cpp
|
2021-07-28 18:40:34 +08:00
|
|
|
src/utils/DepthSurround.cpp
|
2021-07-28 20:20:36 +08:00
|
|
|
src/utils/DynamicBass.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/utils/FixedBiquad.cpp
|
2021-07-30 22:54:59 +08:00
|
|
|
src/utils/Harmonic.cpp
|
2021-07-31 22:00:35 +08:00
|
|
|
src/utils/HiFi.cpp
|
2021-07-29 05:50:34 +08:00
|
|
|
src/utils/HighShelf.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/utils/IIR_1st.cpp
|
|
|
|
src/utils/IIR_NOrder_BW_BP.cpp
|
|
|
|
src/utils/IIR_NOrder_BW_LH.cpp
|
|
|
|
src/utils/MultiBiquad.cpp
|
2021-07-29 04:34:00 +08:00
|
|
|
src/utils/NoiseSharpening.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/utils/PassFilter.cpp
|
2021-09-18 19:37:23 +08:00
|
|
|
src/utils/PConvSingle_F32.cpp
|
2021-07-28 19:31:55 +08:00
|
|
|
src/utils/PolesFilter.cpp
|
2021-07-31 03:51:26 +08:00
|
|
|
src/utils/Subwoofer.cpp
|
2021-07-27 15:47:15 +08:00
|
|
|
src/utils/TimeConstDelay.cpp
|
2021-09-18 19:37:23 +08:00
|
|
|
src/utils/WaveBuffer_I32.cpp)
|
2021-07-27 15:47:15 +08:00
|
|
|
|
|
|
|
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})
|
|
|
|
|
2021-07-28 01:00:39 +08:00
|
|
|
target_link_libraries(
|
|
|
|
v4afx_r
|
|
|
|
log
|
|
|
|
)
|