3 buffer_manager_test.cpp
4 callback_interpreter_system.cpp
6 osc_dispatcher_test.cpp
8 server_dsp_thread_queue_test.cpp
9 server_dsp_thread_test.cpp
10 server_node_graph_test.cpp
11 server_scheduler_test.cpp
12 server_synth_factory_test.cpp
16 sndfile_backend_test.cpp
18 ticket_scheduler_test.cpp
25 static_allocator_test.cpp
30 if (CMAKE_SYSTEM_NAME MATCHES "Linux")
31 set(simple_tests ${simple_tests}
37 find_package(Sndfile REQUIRED)
39 include_directories(${CMAKE_SOURCE_DIR}/include/common
40 ${CMAKE_SOURCE_DIR}/include/plugin_interface
41 ${CMAKE_SOURCE_DIR}/include/server
42 ${CMAKE_SOURCE_DIR}/server/supernova
43 ${CMAKE_SOURCE_DIR}/external_libraries/boost
44 ${CMAKE_SOURCE_DIR}/external_libraries/boost_endian
45 ${CMAKE_SOURCE_DIR}/external_libraries/boost_lockfree
46 ${CMAKE_SOURCE_DIR}/external_libraries/boost_move
47 ${CMAKE_SOURCE_DIR}/external_libraries/oscpack
48 ${CMAKE_SOURCE_DIR}/external_libraries/
49 ${CMAKE_SOURCE_DIR}/external_libraries/nova-tt
50 ${CMAKE_SOURCE_DIR}/external_libraries/TLSF-2.4.6/src
51 ${SNDFILE_INCLUDE_DIR}
55 add_library(boost_test STATIC boost_test.cpp)
58 foreach(test ${simple_tests})
59 string(REPLACE .cpp "" test_name ${test} )
60 add_executable(${test_name} ${test})
61 target_link_libraries(${test_name} boost_thread boost_system boost_test)
62 target_link_libraries(${test_name} oscpack tlsf)
63 target_link_libraries(${test_name} ${PTHREADS_LIBRARY})
64 target_link_libraries(${test_name} ${SNDFILE_LIBRARIES})
65 target_link_libraries(${test_name} libsupernova)
68 target_link_libraries(${test_name} "-framework CoreAudio")
71 add_test(${test_name}_run ${EXECUTABLE_OUTPUT_PATH}/${test_name})
74 set_property(TARGET server_test
76 PROPERTY COMPILE_DEFINITIONS JACK_BACKEND SUPERNOVA)