2016-05-03 01:16:26 +00:00
|
|
|
set(SOURCES
|
|
|
|
lib/AudioGroup.cpp
|
|
|
|
lib/AudioGroupData.cpp
|
|
|
|
lib/AudioGroupPool.cpp
|
|
|
|
lib/AudioGroupProject.cpp
|
|
|
|
lib/AudioGroupSampleDirectory.cpp
|
|
|
|
lib/Emitter.cpp
|
|
|
|
lib/Engine.cpp
|
|
|
|
lib/Envelope.cpp
|
|
|
|
lib/Listener.cpp
|
|
|
|
lib/Sequencer.cpp
|
|
|
|
lib/SoundMacroState.cpp
|
2016-05-07 22:10:57 +00:00
|
|
|
lib/Voice.cpp
|
|
|
|
lib/Submix.cpp
|
|
|
|
lib/EffectBase.cpp
|
2016-05-13 01:46:41 +00:00
|
|
|
lib/EffectReverb.cpp
|
2016-05-07 22:10:57 +00:00
|
|
|
lib/EffectChorus.cpp
|
2016-05-11 04:48:08 +00:00
|
|
|
lib/EffectDelay.cpp
|
|
|
|
lib/SurroundProfiles.cpp
|
|
|
|
lib/dsp.c)
|
2016-05-03 01:16:26 +00:00
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
include/amuse/AudioGroup.hpp
|
|
|
|
include/amuse/AudioGroupData.hpp
|
|
|
|
include/amuse/AudioGroupPool.hpp
|
|
|
|
include/amuse/AudioGroupProject.hpp
|
|
|
|
include/amuse/AudioGroupSampleDirectory.hpp
|
|
|
|
include/amuse/Emitter.hpp
|
|
|
|
include/amuse/Engine.hpp
|
|
|
|
include/amuse/Entity.hpp
|
|
|
|
include/amuse/Envelope.hpp
|
|
|
|
include/amuse/Listener.hpp
|
|
|
|
include/amuse/Sequencer.hpp
|
|
|
|
include/amuse/SoundMacroState.hpp
|
|
|
|
include/amuse/Voice.hpp
|
2016-05-07 22:10:57 +00:00
|
|
|
include/amuse/Submix.hpp
|
|
|
|
include/amuse/IBackendSubmix.hpp
|
2016-05-03 01:16:26 +00:00
|
|
|
include/amuse/IBackendVoice.hpp
|
|
|
|
include/amuse/IBackendVoiceAllocator.hpp
|
2016-05-07 22:10:57 +00:00
|
|
|
include/amuse/EffectBase.hpp
|
2016-05-13 01:46:41 +00:00
|
|
|
include/amuse/EffectReverb.hpp
|
2016-05-07 22:10:57 +00:00
|
|
|
include/amuse/EffectChorus.hpp
|
|
|
|
include/amuse/EffectDelay.hpp
|
2016-05-11 04:48:08 +00:00
|
|
|
include/amuse/SurroundProfiles.hpp
|
2016-05-03 01:16:26 +00:00
|
|
|
include/amuse/Common.hpp
|
2016-05-11 04:48:08 +00:00
|
|
|
include/amuse/amuse.hpp
|
|
|
|
include/amuse/dsp.h)
|
2016-05-03 01:16:26 +00:00
|
|
|
|
|
|
|
unset(EXTRAS)
|
|
|
|
if(TARGET boo)
|
2016-05-11 04:48:08 +00:00
|
|
|
include_directories(${BOO_INCLUDE_DIR} ${LOGVISOR_INCLUDE_DIR} ${ATHENA_INCLUDE_DIR})
|
2016-05-03 01:16:26 +00:00
|
|
|
list(APPEND EXTRAS lib/BooBackend.cpp include/amuse/BooBackend.hpp)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include_directories(include)
|
|
|
|
set(AMUSE_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "amuse include path" FORCE)
|
|
|
|
|
|
|
|
add_library(amuse
|
|
|
|
${SOURCES}
|
|
|
|
${HEADERS}
|
|
|
|
${EXTRAS})
|
2016-05-09 07:22:58 +00:00
|
|
|
|
|
|
|
if(TARGET boo)
|
2016-05-14 04:46:39 +00:00
|
|
|
add_executable(amuseplay WIN32 driver/main.cpp)
|
|
|
|
target_link_libraries(amuseplay amuse boo ${BOO_SYS_LIBS} logvisor athena-core)
|
2016-05-09 07:22:58 +00:00
|
|
|
endif()
|