Newer
Older
music / app / src / main / cpp / CMakeLists.txt
@lukas lukas on 26 Aug 2022 583 bytes add noise effect
cmake_minimum_required(VERSION 3.18.1)

project("music")

add_library(
        music

        SHARED

        waveforms/Sine.cpp
        waveforms/Sawtooth.cpp
        waveforms/Waveform.cpp
        waveforms/Square.cpp
        waveforms/Triangle.cpp
        JavaFunctions.cpp
        AudioHost.cpp
        Instrument.cpp
        effects/Envelope.cpp
        effects/Processable.cpp
        effects/Effect.cpp
        effects/LowPass.cpp
        effects/Noise.cpp
)

find_library(
        log-lib
        log)

target_link_libraries(
        music
        ${log-lib}
        aaudio
)