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
This commit is contained in:
Glenn Rice
2011-07-18 01:47:55 +00:00
parent 82b635b799
commit 7135dba54e
6 changed files with 27 additions and 16 deletions

View File

@ -1,3 +1,12 @@
add_subdirectory(Core)
add_subdirectory(Plugins)
# TODO: Add DSPSpy, DSPTool, TestSuite and UnitTests. Preferrably make them option()s and cpack components
if (DSPTOOL)
add_subdirectory(DSPTool)
endif()
if (UNITTESTS)
add_subdirectory(UnitTests)
endif()
# TODO: Add DSPSpy and TestSuite. Preferrably make them option()s and cpack components