Mercurial > hg > btrack
diff src/CMakeLists.txt @ 117:ca2d83d29814 tip master
Merge branch 'release/1.0.5'
author | Adam Stark <adamstark.uk@gmail.com> |
---|---|
date | Fri, 18 Aug 2023 20:07:33 +0200 |
parents | 33be76921da9 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/CMakeLists.txt Fri Aug 18 20:07:33 2023 +0200 @@ -0,0 +1,22 @@ +include_directories (${CMAKE_CURRENT_SOURCE_DIR}/src) +include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../libs/kiss_fft130) +include_directories (/opt/homebrew/include) + +# Find libsamplerate +find_library(LIBSAMPLERATE_LIBRARIES NAMES samplerate) + +add_library ( + BTrack STATIC + BTrack.cpp + BTrack.h + OnsetDetectionFunction.cpp + OnsetDetectionFunction.h + CircularBuffer.h +) + +source_group (Source src) + +target_compile_definitions (BTrack PUBLIC -DUSE_KISS_FFT) + +# Link against libsamplerate +target_link_libraries(BTrack PRIVATE ${LIBSAMPLERATE_LIBRARIES}) \ No newline at end of file