summaryrefslogtreecommitdiffstats
path: root/src/sdl_sound-test-CMakeLists.txt
diff options
context:
space:
mode:
authorMartin Müllenhaupt <mm@netlair.de>2014-10-09 13:49:49 (GMT)
committerMartin Müllenhaupt <mm@netlair.de>2014-10-09 13:49:49 (GMT)
commit999ccbd16d6f371e70afc183d97e73f6477d1c10 (patch)
tree42f5a5ed178ca3a765baec1b09ebe64f763dd5aa /src/sdl_sound-test-CMakeLists.txt
parentd9e168678b29cf990866dfbfb35e881929189295 (diff)
downloadmxe-999ccbd16d6f371e70afc183d97e73f6477d1c10.zip
mxe-999ccbd16d6f371e70afc183d97e73f6477d1c10.tar.gz
mxe-999ccbd16d6f371e70afc183d97e73f6477d1c10.tar.bz2
sdl_sound: provide cmake find-script and test
Diffstat (limited to 'src/sdl_sound-test-CMakeLists.txt')
-rw-r--r--src/sdl_sound-test-CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sdl_sound-test-CMakeLists.txt b/src/sdl_sound-test-CMakeLists.txt
new file mode 100644
index 0000000..4148e23
--- /dev/null
+++ b/src/sdl_sound-test-CMakeLists.txt
@@ -0,0 +1,10 @@
+project(18)
+cmake_minimum_required(VERSION 2.8)
+
+find_package(SDL_sound REQUIRED)
+
+include_directories(${SDL_SOUND_INCLUDE_DIRS})
+add_executable(sdl_sound_test
+ sdl_sound-test.c
+ )
+target_link_libraries(sdl_sound_test ${SDL_SOUND_LIBRARIES})