Browse Source

Audio: use new-style file embedding for tests.

pull/203/merge
Vladimír Vondruš 9 years ago
parent
commit
76cc3f092a
  1. 8
      src/Magnum/Audio/Test/CMakeLists.txt

8
src/Magnum/Audio/Test/CMakeLists.txt

@ -33,7 +33,9 @@ endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/configure.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/configure.h)
corrade_add_test(AudioAbstractImporterTest AbstractImporterTest.cpp LIBRARIES MagnumAudio)
corrade_add_test(AudioAbstractImporterTest AbstractImporterTest.cpp
LIBRARIES MagnumAudio
FILES file.bin)
target_include_directories(AudioAbstractImporterTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
corrade_add_test(AudioBufferTest BufferTest.cpp LIBRARIES MagnumAudio)
corrade_add_test(AudioContextTest ContextTest.cpp LIBRARIES MagnumAudio)
@ -51,7 +53,3 @@ if(BUILD_AL_TESTS)
corrade_add_test(AudioPlayableALTest PlayableALTest.cpp LIBRARIES MagnumSceneGraph MagnumAudio)
endif()
endif()
if(CORRADE_TARGET_EMSCRIPTEN)
emscripten_embed_file(AudioAbstractImporterTest file.bin "/file.bin")
endif()

Loading…
Cancel
Save