You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
2 years ago
|
cmake_minimum_required(VERSION 3.5)
|
||
|
project(teensy_variable_playback C CXX)
|
||
|
set(teensy_variable_playback_VERSION 1.0.0)
|
||
|
set(CMAKE_CXX_STANDARD 11)
|
||
|
set(SOURCE_FILES
|
||
|
interpolation.cpp
|
||
|
)
|
||
|
|
||
|
set(HEADER_FILES
|
||
|
loop_type.h
|
||
|
playresmp.h
|
||
|
playsdresmp.h
|
||
|
ResamplingSdReader.h
|
||
|
waveheaderparser.h
|
||
|
ResamplingArrayReader.h
|
||
|
ResamplingReader.h
|
||
|
playarrayresmp.h
|
||
|
interpolation.h
|
||
|
TeensyVariablePlayback.h
|
||
|
IndexableFile.h
|
||
|
IndexableSerialFlashFile.h
|
||
|
IndexableLittleFSFile.h
|
||
|
IndexableSDFile.h
|
||
|
ResamplingLfsReader.h
|
||
|
ResamplingSerialFlashReader.h
|
||
|
playlfsresmp.h
|
||
|
playserialflashresmp.h
|
||
|
)
|
||
|
|
||
|
#set(CMAKE_VERBOSE_MAKEFILE 1)
|
||
|
if (NOT DEFINED TEENSY_VERSION)
|
||
|
include(CMakeLists.linux.cmake.in)
|
||
|
else()
|
||
|
teensy_add_library(
|
||
|
teensy_variable_playback
|
||
|
${SOURCE_FILES}
|
||
|
)
|
||
|
|
||
|
add_custom_target(installarduino
|
||
|
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/install_arduino_library.cmake")
|
||
|
endif()
|