-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
30 lines (28 loc) · 1007 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cmake_minimum_required(VERSION 3.2)
project(joysynth2)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -ggdb")
set(SOURCE_FILES Synthesizer.cpp Synthesizer.h
Controller.cpp Controller.h
Plotter.cpp Plotter.h
Sine.cpp Sine.h
Square.cpp Square.h
Audio.cpp Audio.h
Effect.cpp Effect.h
ConvReverb.cpp ConvReverb.h
Sawtooth.cpp Sawtooth.h
Triangle.cpp Triangle.h
FixedDelay.cpp FixedDelay.h
RTArray.h
BiquadLPF.cpp BiquadLPF.h)
set(LIBRARIES "jack"
"pthread"
"fftw3"
"boost_iostreams"
"boost_system"
"boost_filesystem")
add_executable(joysynth2 ${SOURCE_FILES}
main.cpp)
add_executable(benchmark ${SOURCE_FILES}
benchmark.cpp)
target_link_libraries(joysynth2 ${LIBRARIES})
target_link_libraries(benchmark ${LIBRARIES} "gomp")