Clementine-audio-player-Mac.../3rdparty/echoprint-codegen/CMakeLists.txt

26 lines
632 B
CMake
Raw Normal View History

set(ECHOPRINT-SOURCES
src/AudioBufferInput.cxx
src/AudioStreamInput.cxx
src/Base64.cxx
src/Codegen.cxx
src/Fingerprint.cxx
src/MatrixUtility.cxx
src/Metadata.cxx
src/SubbandAnalysis.cxx
src/Whitening.cxx
)
include_directories(${Boost_INCLUDE_DIRS})
add_library(echoprint STATIC ${ECHOPRINT-SOURCES})
set_target_properties(echoprint PROPERTIES
2011-06-29 16:32:49 +02:00
COMPILE_DEFINITIONS "BOOST_UBLAS_NDEBUG;NDEBUG")
if(NOT WIN32)
set_target_properties(echoprint PROPERTIES
COMPILE_FLAGS "-O3 -fPIC")
else(NOT WIN32)
set_target_properties(echoprint PROPERTIES
COMPILE_FLAGS "-O3")
endif(NOT WIN32)