mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 09:09:47 +02:00
Uses system libraries by default with a fallback to local Adds the Wrapper build on OSX Adds mod_script_pipe Adds ffmpeg Some additional cleanup
27 lines
660 B
CMake
27 lines
660 B
CMake
|
|
add_library( ${TARGET} STATIC )
|
|
|
|
list( APPEND SOURCES
|
|
PRIVATE
|
|
${TARGET_ROOT}/audioreader.cpp
|
|
${TARGET_ROOT}/comp_chroma.cpp
|
|
${TARGET_ROOT}/curvefit.cpp
|
|
${TARGET_ROOT}/gen_chroma.cpp
|
|
${TARGET_ROOT}/hillclimb.cpp
|
|
${TARGET_ROOT}/regression.cpp
|
|
${TARGET_ROOT}/sautils.cpp
|
|
${TARGET_ROOT}/scorealign.cpp
|
|
${TARGET_ROOT}/fft3/FFT3.cpp
|
|
)
|
|
|
|
list( APPEND INCLUDES
|
|
PUBLIC
|
|
${TARGET_ROOT}
|
|
)
|
|
|
|
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
|
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
|
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
|
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
|
|