mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-10 09:27:43 +02:00
It's still has some work, but it successfully builds on all 3 main platforms. Some of the outstanding items include: Install target testing (mostly important for Linux) CMakeList clean up and comments Debug and Release build verification Audit of compile/link options Need a Mac signed and notarized build (and probably more)
30 lines
831 B
CMake
30 lines
831 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_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
|
target_compile_features( ${TARGET} PRIVATE ${FEATURES} )
|
|
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
|
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
|
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
|
|