mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
... note the swap of target_link_libraries lines in src/CMakeLists.txt, needed to build at least on macOS, becuase FFT.h must be looked up first in lib-math, not in lib-src/twolame Also making a dependency cycle of SampleFormat and Dither! But we will tolerate that within one small library.
32 lines
749 B
CMake
32 lines
749 B
CMake
# Include the libraries that we'll build
|
|
|
|
# The list of modules is ordered so that each library occurs after any others
|
|
# that it depends on
|
|
set( LIBRARIES
|
|
lib-string-utils
|
|
lib-strings
|
|
lib-utility
|
|
lib-uuid
|
|
lib-components
|
|
lib-basic-ui
|
|
lib-exceptions
|
|
lib-preferences
|
|
lib-math
|
|
)
|
|
|
|
if ( ${_OPT}has_networking )
|
|
list( APPEND LIBRARIES lib-network-manager)
|
|
endif()
|
|
|
|
# This library depends on lib-network-manager
|
|
# If Sentry reporting is disabled, an INTERFACE library
|
|
# will be defined
|
|
list( APPEND LIBRARIES lib-sentry-reporting)
|
|
|
|
foreach( LIBRARY ${LIBRARIES} )
|
|
add_subdirectory( "${LIBRARY}" )
|
|
endforeach()
|
|
|
|
set( GRAPH_EDGES "${GRAPH_EDGES}" PARENT_SCOPE )
|
|
set( AUDACITY_LIBRARIES "${AUDACITY_LIBRARIES}" PARENT_SCOPE )
|