stuff-from-scratch/test/audio/CMakeLists.txt

21 lines
541 B
CMake
Raw Normal View History

2022-12-01 10:52:48 +00:00
set(MODULE_NAME audio)
set(UNIT_TESTS
${MODULE_NAME}/unit/TestAudioWriter.cpp
)
if(UNIX)
set(INTEGETATION_TESTS
${MODULE_NAME}/integration/TestAlsaInterface.cpp
)
else()
set(INTEGETATION_TESTS
${MODULE_NAME}/integration/TestWasapiInterface.cpp
)
endif()
set(AUDIO_UNIT_TEST_FILES ${UNIT_TESTS} PARENT_SCOPE)
set(AUDIO_INTEGRATION_TEST_FILES ${INTEGETATION_TESTS} PARENT_SCOPE)
set(AUDIO_UNIT_TEST_DEPENDENCIES ${MODULE_NAME} PARENT_SCOPE)
set(AUDIO_INTEGRATION_TEST_DEPENDENCIES ${MODULE_NAME} PARENT_SCOPE)