1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-15 08:07:41 +02:00
audacity/cmake-proxies/libvamp/CMakeLists.txt
Leland Lucius 6217351a12 Updates the cmake build system
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)
2020-02-03 00:39:43 -06:00

34 lines
1.0 KiB
CMake

add_library( ${TARGET} STATIC )
list( APPEND SOURCES
PRIVATE
${TARGET_ROOT}/src/vamp-hostsdk/PluginBufferingAdapter.cpp
${TARGET_ROOT}/src/vamp-hostsdk/PluginChannelAdapter.cpp
${TARGET_ROOT}/src/vamp-hostsdk/PluginHostAdapter.cpp
${TARGET_ROOT}/src/vamp-hostsdk/PluginInputDomainAdapter.cpp
${TARGET_ROOT}/src/vamp-hostsdk/PluginLoader.cpp
${TARGET_ROOT}/src/vamp-hostsdk/PluginSummarisingAdapter.cpp
${TARGET_ROOT}/src/vamp-hostsdk/PluginWrapper.cpp
${TARGET_ROOT}/src/vamp-hostsdk/RealTime.cpp
)
list( APPEND INCLUDES
PUBLIC
${TARGET_ROOT}
)
list( APPEND DEFINES
PRIVATE
_USE_MATH_DEFINES
)
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} )