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}
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
54 add_library(boost_test STATIC boost_test.cpp)
57 foreach(test ${simple_tests})
58 string(REPLACE .cpp "" test_name ${test} )
59 add_executable(${test_name} ${test})
60 target_link_libraries(${test_name} boost_thread boost_system boost_test)
61 target_link_libraries(${test_name} oscpack tlsf)
62 target_link_libraries(${test_name} ${PTHREADS_LIBRARY})
63 target_link_libraries(${test_name} ${SNDFILE})
64 target_link_libraries(${test_name} libsupernova)
67 target_link_libraries(${test_name} "-framework CoreAudio")
70 add_test(${test_name}_run ${EXECUTABLE_OUTPUT_PATH}/${test_name})
73 set_property(TARGET server_test
75 PROPERTY COMPILE_DEFINITIONS JACK_BACKEND SUPERNOVA)