Mercurial > hg > btrack
view src/CMakeLists.txt @ 114:d6d9df2db3e1
Update documentation
| author | Adam Stark <adamstark.uk@gmail.com> |
|---|---|
| date | Fri, 18 Aug 2023 10:48:26 +0200 |
| parents | 33be76921da9 |
| children |
line wrap: on
line source
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})
