stuff-from-scratch/test/audio/CMakeLists.txt
2022-12-01 10:52:48 +00:00

22 lines
No EOL
588 B
CMake

set(MODULE_NAME audio)
set(UNIT_TESTS
${MODULE_NAME}/unit/TestAudioWriter.cpp
${MODULE_NAME}/unit/TestMidiReader.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)