diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2016-01-04 04:33:59 +0200 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2016-01-04 04:33:59 +0200 |
commit | 537ca31915603d7ed47ab4374a74058e340125c7 (patch) | |
tree | b3c19e8dae778385021ea08be596022d952ccab5 /tests/CMakeLists.txt |
Initial commit; Not done yet though, needs more work.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..ddfe4f9 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,18 @@ +find_package(CUnit) + +add_executable(test_lib + test_lib.c + test_source.c +) + +include_directories(${CUNIT_INCLUDE_DIR} . ../include/) +if(MINGW) + target_link_libraries(test_lib mingw32) +endif() +target_link_libraries(test_lib + SDL_kitchensink_static + ${CUNIT_LIBRARIES} + ${SDL2_LIBRARIES} + ${FFMPEG_LIBRARIES} +) +add_custom_target(unittest test_lib) |