1 include (SimGearComponent)
21 simgear_scene_component(sound sound "${SOURCES}" "${HEADERS}")
26 set(SOUND_TEST_LIBS SimGearScene)
29 sgsound sgio sgmath sgstructure sgthreads sgtiming sgmisc sgdebug
30 ${CMAKE_THREAD_LIBS_INIT}
35 function(create_test TEST_NAME)
36 add_executable(${TEST_NAME} ${TEST_NAME}.cxx)
37 target_link_libraries(${TEST_NAME} ${SOUND_TEST_LIBS})
38 set_target_properties(${TEST_NAME} PROPERTIES
39 COMPILE_DEFINITIONS "SRC_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}\"" )
42 create_test(openal_test1)
43 create_test(openal_test2)
44 create_test(openal_test3)
45 create_test(openal_test4)