summaryrefslogtreecommitdiff
path: root/Source/UnitTests
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-07-18 01:47:55 +0000
committerGlenn Rice <glennricster@gmail.com>2011-07-18 01:47:55 +0000
commit7135dba54ef70331f5e8a1903033ab5b602bc671 (patch)
tree26b2b00aeb040a2bb193e253c1a713c2258ccb6c /Source/UnitTests
parent82b635b7990cf61f2436224afaaa8072ef4c61b6 (diff)
Add the DSPTool and UnitTests to the cmake build. They are optional, and to enable them add -DDSTPTOOL and -DUNITTESTS to the cmake command line.
Also, don't check to see if a directory is a wad file. They aren't. This removes an annoying and invalid debug assertion with the debug build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7682 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/UnitTests')
-rw-r--r--Source/UnitTests/CMakeLists.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/UnitTests/CMakeLists.txt b/Source/UnitTests/CMakeLists.txt
index 172cca378e..323c4f65c7 100644
--- a/Source/UnitTests/CMakeLists.txt
+++ b/Source/UnitTests/CMakeLists.txt
@@ -1,10 +1,7 @@
-set(LIBS core
- common)
-
set(SRCS AudioJitTests.cpp
- DSPJitTester.cpp
- UnitTests.cpp)
+ DSPJitTester.cpp
+ UnitTests.cpp)
add_executable(tester ${SRCS})
-target_link_libraries(tester ${LIBS})
-#install(TARGETS ${EXEGUI} RUNTIME DESTINATION ${bindir})
+target_link_libraries(tester core)
+install(TARGETS tester RUNTIME DESTINATION ${bindir})