1 include (SimGearComponent)
19 simgear_component(sound sound "${SOURCES}" "${HEADERS}")
22 sgsound sgio sgmath sgstructure sgthreads sgtiming sgmisc sgdebug
23 ${CMAKE_THREAD_LIBS_INIT}
25 ${ALUT_LIBRARY} ${OPENAL_LIBRARY})
27 function(create_test TEST_NAME)
28 add_executable(${TEST_NAME} ${TEST_NAME}.cxx)
29 target_link_libraries(${TEST_NAME} ${SOUND_TEST_LIBS})
30 set_target_properties(${TEST_NAME} PROPERTIES
31 COMPILE_DEFINITIONS "SRC_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}\"" )
34 create_test(openal_test1)
35 create_test(openal_test2)
36 create_test(openal_test3)
37 create_test(openal_test4)