-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
53 lines (42 loc) · 1005 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cmake_minimum_required(VERSION 3.14.0)
include(FetchContent)
project(ha-fx-collection)
add_subdirectory(external)
add_library(fx-collection STATIC
include/ha/fx_collection/types.h
include/ha/fx_collection/trance_gate.h
source/trance_gate.cpp
source/detail/shuffle_note.cpp
source/detail/shuffle_note.h
)
target_link_libraries(fx-collection
PUBLIC
dsp-tool-box
)
target_include_directories(fx-collection
PUBLIC
${CMAKE_CURRENT_LIST_DIR}/include
PRIVATE
${CMAKE_CURRENT_LIST_DIR}/source
)
target_compile_features(fx-collection
PUBLIC
cxx_std_17
)
enable_testing()
add_executable(fx-collection_test
test/trance_gate_test.cpp
test/array_alignment_test.cpp
)
target_include_directories(fx-collection_test
PUBLIC
${CMAKE_CURRENT_LIST_DIR}/include
PRIVATE
${CMAKE_CURRENT_LIST_DIR}/source
)
target_link_libraries(fx-collection_test
PRIVATE
fx-collection
gtest
gtest_main
)