28 lines
735 B
CMake
28 lines
735 B
CMake
# This file is copyrighted under the GPL2+ license
|
|
# copyright 2013, Jean-Philippe Meuret <jpmeuret@free.fr>
|
|
|
|
# 'atsa' library.
|
|
|
|
MESSAGE(STATUS "Configuring atsa ...")
|
|
|
|
set(_SRCS peak-tracking.c peak-detection.c other-utils.c
|
|
critical-bands.c utilities.c tracker.c
|
|
save-load-sound.c residual-analysis.c residual.c
|
|
curves.c synthesis.c synthesis.atsh.c)
|
|
|
|
set(_HDRS atsa.h)
|
|
|
|
include_directories()
|
|
|
|
IF(MSVC)
|
|
add_definitions(-D_USE_MATH_DEFINES)
|
|
ENDIF()
|
|
|
|
add_library(atsa STATIC ${_SRCS} ${_HDRS})
|
|
|
|
#target_link_libraries(atsa sndfile)
|
|
|
|
#install(TARGETS atsa RUNTIME DESTINATION bin
|
|
# LIBRARY DESTINATION lib${LIB_SUFFIX}
|
|
# ARCHIVE DESTINATION lib${LIB_SUFFIX})
|